mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #5689 - ehuss:doc-opt-level, r=alexcrichton
Document opt-level 's' and 'z' stabilized in 1.28.
This commit is contained in:
commit
35b7e66b7d
@ -303,6 +303,7 @@ along with the defaults for each profile.
|
||||
[profile.dev]
|
||||
opt-level = 0 # controls the `--opt-level` the compiler builds with.
|
||||
# 0-1 is good for debugging. 2 is well-optimized. Max is 3.
|
||||
# 's' attempts to reduce size, 'z' reduces size even more.
|
||||
debug = true # include debug information (debug symbols). Equivalent to
|
||||
# `-C debuginfo=2` compiler flag.
|
||||
rpath = false # controls whether compiler should set loader paths.
|
||||
|
Loading…
x
Reference in New Issue
Block a user