Skip to content

Commit 867a310

Browse files
authored
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``
2 parents 62c1eea + 7587323 commit 867a310

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
@@ -184,6 +184,10 @@ impl CodegenBackend for GccCodegenBackend {
184184
crate::DEFAULT_LOCALE_RESOURCE
185185
}
186186

187+
fn name(&self) -> &'static str {
188+
"gcc"
189+
}
190+
187191
fn init(&self, _sess: &Session) {
188192
#[cfg(feature = "master")]
189193
{

0 commit comments

Comments
 (0)