diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-29 11:56:44 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 11:56:44 +1000 |
| commit | af8af6cc6a40fe32e791a94196329db25b597ee6 (patch) | |
| tree | 60a6aee55f7c807d275aaad1b2a4e58928db6417 /compiler/rustc_codegen_cranelift/src/lib.rs | |
| parent | 1ef1d3bc28914fb89fd6a088e6259a689f7e3f38 (diff) | |
| parent | 7fcbc5ea465a4e280d3b7a84fc3f781e9a120ed0 (diff) | |
| download | rust-af8af6cc6a40fe32e791a94196329db25b597ee6.tar.gz rust-af8af6cc6a40fe32e791a94196329db25b597ee6.zip | |
Rollup merge of #147127 - antoyo:fix/gcc-linker-plugin, r=bjorn3
Add a leading dash to linker plugin arguments in the gcc codegen Fix rust-lang/rust#130583 r? ``@bjorn3``
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/lib.rs')
| -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() { |
