diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-09-28 12:08:44 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-09-28 13:57:33 -0400 |
| commit | 7fcbc5ea465a4e280d3b7a84fc3f781e9a120ed0 (patch) | |
| tree | c77bb7d892226e63dfc6b82529cf724ff7b5ad5c /compiler/rustc_codegen_cranelift | |
| parent | a00a5159cfac23e9b1551566cf71ff31edc1f11b (diff) | |
| download | rust-7fcbc5ea465a4e280d3b7a84fc3f781e9a120ed0.tar.gz rust-7fcbc5ea465a4e280d3b7a84fc3f781e9a120ed0.zip | |
Add a leading dash to linker plugin arguments in the gcc codegen
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/lib.rs b/compiler/rustc_codegen_cranelift/src/lib.rs index 8e34436fb5e..5fd7c4d4f41 100644 --- a/compiler/rustc_codegen_cranelift/src/lib.rs +++ b/compiler/rustc_codegen_cranelift/src/lib.rs @@ -165,6 +165,10 @@ impl CodegenBackend for CraneliftCodegenBackend { "" } + fn name(&self) -> &'static str { + "cranelift" + } + fn init(&self, sess: &Session) { use rustc_session::config::{InstrumentCoverage, Lto}; match sess.lto() { |
