Merge pull request #1 from mubarak23/remove-debug-info
remove debug info from emitting
This commit is contained in:
commit
17abfa7041
@ -18,5 +18,5 @@ rustc-std-workspace-alloc = { path = "./sysroot_src/library/rustc-std-workspace-
|
|||||||
rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-std" }
|
rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-std" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = "limited"
|
||||||
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.
|
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.
|
||||||
|
@ -424,7 +424,7 @@ pub fn setup(
|
|||||||
rustflags.push("-Csymbol-mangling-version=v0".to_string());
|
rustflags.push("-Csymbol-mangling-version=v0".to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
rustflags.push("-Cdebuginfo=2".to_string());
|
|
||||||
|
|
||||||
// Since we don't support ThinLTO, disable LTO completely when not trying to do LTO.
|
// Since we don't support ThinLTO, disable LTO completely when not trying to do LTO.
|
||||||
// TODO(antoyo): remove when we can handle ThinLTO.
|
// TODO(antoyo): remove when we can handle ThinLTO.
|
||||||
|
Loading…
Reference in New Issue
Block a user