Merge pull request #181525 from alyssais/rust-debug

separateDebugInfo: enable full Rust debug info
This commit is contained in:
John Ericson 2022-07-21 13:09:19 -04:00 committed by GitHub
commit c38de9b3f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
export NIX_SET_BUILD_ID=1
export NIX_LDFLAGS+=" --compress-debug-sections=zlib"
export NIX_CFLAGS_COMPILE+=" -ggdb -Wa,--compress-debug-sections"
export RUSTFLAGS+=" -g"
dontStrip=1
fixupOutputHooks+=(_separateDebugInfo)