Skip to content

Commit eb62f83

Browse files
committed
PERF: unpacked debuginfo by default on linux
Signed-off-by: David Wood <david.wood@huawei.com>
1 parent d5ae66c commit eb62f83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_target/src/spec/linux_base.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::spec::{cvs, RelroLevel, TargetOptions};
1+
use crate::spec::{cvs, RelroLevel, SplitDebuginfo, TargetOptions};
22

33
pub fn opts() -> TargetOptions {
44
TargetOptions {
@@ -11,6 +11,8 @@ pub fn opts() -> TargetOptions {
1111
relro_level: RelroLevel::Full,
1212
has_thread_local: true,
1313
crt_static_respected: true,
14+
// PERF EXPERIMENT
15+
split_debuginfo: SplitDebuginfo::Unpacked,
1416
..Default::default()
1517
}
1618
}

0 commit comments

Comments
 (0)