We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a18bd8a commit 123062bCopy full SHA for 123062b
compiler/rustc_codegen_ssa/src/back/linker.rs
@@ -1939,14 +1939,14 @@ impl<'a> Linker for LlbcLinker<'a> {
1939
}
1940
1941
fn optimize(&mut self) {
1942
- match self.sess.opts.optimize {
+ self.link_arg(match self.sess.opts.optimize {
1943
OptLevel::No => "-O0",
1944
OptLevel::Less => "-O1",
1945
OptLevel::More => "-O2",
1946
OptLevel::Aggressive => "-O3",
1947
OptLevel::Size => "-Os",
1948
OptLevel::SizeMin => "-Oz",
1949
- };
+ });
1950
1951
1952
fn full_relro(&mut self) {}
0 commit comments