10 ms·
Don't you need to add [profile.release] debug = true to make this work?
by saagarjha 7y ago
Don't you need to add
[profile.release]
debug = true
to make this work?
- umanwizard 7y agoOh, you may be right. My company's main codebase does indeed have that; I had assumed it was the default.
- Freaky 7y agoI think you still get symbols for libstd without that. I can see why that would lead to confusion - stripping a plain --release build still saves a few MB.
- steveklabnik 7y agoIIRC this is correct, libstd is built in release mode but with debuginfo.