From de53737f637054a32e8ea7536f077c96d9d2131c Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sun, 28 Sep 2025 12:08:44 -0400 Subject: [PATCH] Add a leading dash to linker plugin arguments in the gcc codegen --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 8e34436fb5e0..5fd7c4d4f41b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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() {