-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
T-compilerRelevant to the compiler team, which will review and decide on the RFC.Relevant to the compiler team, which will review and decide on the RFC.T-dev-toolsRelevant to the development tools team, which will review and decide on the RFC.Relevant to the development tools team, which will review and decide on the RFC.
Description
There appears to be no way to disable backtrace information embedding into a program. There are some cases where bundling filenames and other information needed for backtraces is not desired. Two cases I can think of immediately is wanting to provide as little information as possible in proprietary products. The other case is where you need the final binary to be as small as possible.
There is an old set of patches that added this that seem to be stale now.. Maybe they can be used as a starting point? https://github.com/japaric/std-with-cargo And there was also some discussion about this on the rust-internals IRC, but nothing seemed to come out of it: https://botbot.me/mozilla/rust-internals/2015-08-20/?msg=47709853&page=4
hberntsen, dbdr, ojeda, mischnic, Owez and 7 more
Metadata
Metadata
Assignees
Labels
T-compilerRelevant to the compiler team, which will review and decide on the RFC.Relevant to the compiler team, which will review and decide on the RFC.T-dev-toolsRelevant to the development tools team, which will review and decide on the RFC.Relevant to the development tools team, which will review and decide on the RFC.