Skip to content

Commit

Permalink
Merge pull request #1 from mubarak23/remove-debug-info
Browse files Browse the repository at this point in the history
remove debug info from emitting
  • Loading branch information
antoyo authored Mar 19, 2024
2 parents 7ff5d39 + 09dbab8 commit 17abfa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_sysroot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

[profile.release]
debug = true
debug = "limited"
#lto = "fat" # TODO(antoyo): re-enable when the failing LTO tests regarding proc-macros are fixed.
2 changes: 1 addition & 1 deletion build_system/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ impl ConfigInfo {
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.
// TODO(antoyo): remove when we can handle ThinLTO.
Expand Down

0 comments on commit 17abfa7

Please sign in to comment.