diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-13 09:15:57 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-13 09:15:57 +0200 |
| commit | 86aa326ec0491d3116a818e5ed4c523bdedd065f (patch) | |
| tree | c59deb40bd4f28c8fec234315a2e9f1a8f2051d2 /src | |
| parent | 466812394508495935ff3eb57152ce231a3635eb (diff) | |
| download | rust-86aa326ec0491d3116a818e5ed4c523bdedd065f.tar.gz rust-86aa326ec0491d3116a818e5ed4c523bdedd065f.zip | |
fmt
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/builder.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index fe0c1dfb70b..7c8e3536df5 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1650,7 +1650,8 @@ impl<'a> Builder<'a> { } }; cargo.env(profile_var("DEBUG"), debuginfo_level.to_string()); - if !self.config.dry_run() && self.cc.borrow()[&target].args().iter().any(|arg| arg == "-gz") { + if !self.config.dry_run() && self.cc.borrow()[&target].args().iter().any(|arg| arg == "-gz") + { rustflags.arg("-Clink-arg=-gz"); } cargo.env( |
