Skip to content

Commit 17abfa7

Browse files
authored
Merge pull request #1 from mubarak23/remove-debug-info
remove debug info from emitting
2 parents 7ff5d39 + 09dbab8 commit 17abfa7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_sysroot/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ rustc-std-workspace-alloc = { path = "./sysroot_src/library/rustc-std-workspace-
1818
rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-std" }
1919

2020
[profile.release]
21-
debug = true
21+
debug = "limited"
2222
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.

build_system/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ impl ConfigInfo {
424424
rustflags.push("-Csymbol-mangling-version=v0".to_string());
425425
}
426426

427-
rustflags.push("-Cdebuginfo=2".to_string());
427+
428428

429429
// Since we don't support ThinLTO, disable LTO completely when not trying to do LTO.
430430
// TODO(antoyo): remove when we can handle ThinLTO.

0 commit comments

Comments
 (0)