Skip to content

Commit de53737

Browse files
committed
Add a leading dash to linker plugin arguments in the gcc codegen
1 parent 2898222 commit de53737

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ impl CodegenBackend for CraneliftCodegenBackend {
165165
""
166166
}
167167

168+
fn name(&self) -> &'static str {
169+
"cranelift"
170+
}
171+
168172
fn init(&self, sess: &Session) {
169173
use rustc_session::config::{InstrumentCoverage, Lto};
170174
match sess.lto() {

0 commit comments

Comments
 (0)