Skip to content

Commit

Permalink
Discourage stripping symbols in devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Apr 1, 2024
1 parent 3896f07 commit 973663d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/doc/rustc/src/codegen-options/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,10 @@ Supported values for this option are:
using a debugger like gdb or lldb ineffectual.
- `symbols` - same as `debuginfo`, but the rest of the symbol table section is
stripped as well if the linker supports it. On platforms which depend on the
binary's symbol table for backtraces, this can affect them so negatively as to
make the trace completely incomprehensible.
binary's symbol table for backtraces, profiling, and similar, this can affect
them so negatively as to make the results completely incomprehensible.
Programs which may be combined with others, using e.g. CLI pipelines, or any
developer tooling whatsoever, should avoid stripping symbols for this reason.

## symbol-mangling-version

Expand Down

0 comments on commit 973663d

Please sign in to comment.