about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-14 11:05:04 +0000
committerbors <bors@rust-lang.org>2023-10-14 11:05:04 +0000
commit96c4dba79407dd92eaef8e8442fb4bec6d734bbc (patch)
tree9d08f698442f6ef878708eaf55fbcead6caea3c1 /compiler/rustc_mir_transform/src
parent139f63a6eba2b7a10462e1c9f0ef396b01e524f5 (diff)
parent321572503d75d44287f5de53abfdba70e5047291 (diff)
downloadrust-96c4dba79407dd92eaef8e8442fb4bec6d734bbc.tar.gz
rust-96c4dba79407dd92eaef8e8442fb4bec6d734bbc.zip
Auto merge of #116702 - durin42:compress-debuginfo, r=compiler-errors
linker: also pass debuginfo compression flags

We support compressing debuginfo during codegen, but until this patch we didn't pass the flag to the linker. Doing so means we'll respect the requested compression even when building binaries or dylibs. This produces much smaller binaries: in my testing a debug build of ripgrep goes from 85M to 32M, and the target/ directory (after a clean build in both cases) goes from 508M to 329M just by enabling zlib compression of debuginfo.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions