Add a leading dash to linker plugin arguments in the gcc codegen

This commit is contained in:
Antoni Boucher
2025-09-28 12:08:44 -04:00
parent 289822299a
commit de53737f63
+4
View File
@@ -165,6 +165,10 @@ fn locale_resource(&self) -> &'static str {
""
}
fn name(&self) -> &'static str {
"cranelift"
}
fn init(&self, sess: &Session) {
use rustc_session::config::{InstrumentCoverage, Lto};
match sess.lto() {