Move debuginfo=1
This commit is contained in:
parent
95c9586463
commit
cabaed495a
2 changed files with 2 additions and 2 deletions
|
|
@ -59,6 +59,8 @@ rustflags = ["-Cpanic=abort"]
|
|||
# in the user's profile.
|
||||
[profile.dist]
|
||||
inherits = "release"
|
||||
codegen-units = 1
|
||||
debug = 1 # "limited"
|
||||
rustflags = [
|
||||
# Unconditionally embedding bitcode is necessary for when users enable LTO.
|
||||
# Until Cargo can rebuild the standard library with the user profile's `lto`
|
||||
|
|
|
|||
|
|
@ -120,8 +120,6 @@ if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
|
|||
|
||||
if [ "$DEPLOY_ALT" != "" ] && isLinux; then
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level=2"
|
||||
else
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
|
||||
fi
|
||||
|
||||
if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue