We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126a0e2 commit 4cfc979Copy full SHA for 4cfc979
src/librustc_codegen_utils/linker.rs
@@ -209,17 +209,6 @@ impl<'a> GccLinker<'a> {
209
self.linker_arg(&format!("-plugin-opt={}", opt_level));
210
let target_cpu = self.target_cpu;
211
self.linker_arg(&format!("-plugin-opt=mcpu={}", target_cpu));
212
-
213
- match self.sess.lto() {
214
- config::Lto::Thin |
215
- config::Lto::ThinLocal => {
216
- self.linker_arg("-plugin-opt=thin");
217
- }
218
- config::Lto::Fat |
219
- config::Lto::No => {
220
- // default to regular LTO
221
222
223
}
224
225
0 commit comments