Move debuginfo=1

This commit is contained in:
Adam Gemmell 2025-09-30 13:51:11 +01:00
parent 95c9586463
commit cabaed495a
2 changed files with 2 additions and 2 deletions

View file

@ -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`

View file

@ -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