We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51be258 commit 3dfbe35Copy full SHA for 3dfbe35
src/librustc_codegen_llvm/back/linker.rs
@@ -205,17 +205,6 @@ impl<'a> GccLinker<'a> {
205
206
self.linker_arg(&format!("-plugin-opt={}", opt_level));
207
self.linker_arg(&format!("-plugin-opt=mcpu={}", llvm_util::target_cpu(self.sess)));
208
-
209
- match self.sess.lto() {
210
- config::Lto::Thin |
211
- config::Lto::ThinLocal => {
212
- self.linker_arg("-plugin-opt=thin");
213
- }
214
- config::Lto::Fat |
215
- config::Lto::No => {
216
- // default to regular LTO
217
218
219
}
220
221
0 commit comments