diff options
| author | mubarak23 <mubarakaminu340@gmail.com> | 2024-03-19 08:54:11 +0100 |
|---|---|---|
| committer | mubarak23 <mubarakaminu340@gmail.com> | 2024-03-19 08:54:11 +0100 |
| commit | 4ef3bac2a63405d87d0157d9a0c11f225a5fc28f (patch) | |
| tree | a39973078f207d96558755dd5dd733ad245f0f99 | |
| parent | 7ff5d39980b7ac84d702ff0e82df02163dfe9265 (diff) | |
| download | rust-4ef3bac2a63405d87d0157d9a0c11f225a5fc28f.tar.gz rust-4ef3bac2a63405d87d0157d9a0c11f225a5fc28f.zip | |
remove debug info from emitting
| -rw-r--r-- | build_system/src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_system/src/config.rs b/build_system/src/config.rs index 0a7258958e7..4cda356301a 100644 --- a/build_system/src/config.rs +++ b/build_system/src/config.rs @@ -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. |
