about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-29 11:56:44 +1000
committerGitHub <noreply@github.com>2025-09-29 11:56:44 +1000
commitaf8af6cc6a40fe32e791a94196329db25b597ee6 (patch)
tree60a6aee55f7c807d275aaad1b2a4e58928db6417 /tests
parent1ef1d3bc28914fb89fd6a088e6259a689f7e3f38 (diff)
parent7fcbc5ea465a4e280d3b7a84fc3f781e9a120ed0 (diff)
downloadrust-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 'tests')
-rw-r--r--tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs b/tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs
index 8449479287f..48f328f4fad 100644
--- a/tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs
+++ b/tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs
@@ -33,6 +33,10 @@ impl CodegenBackend for TheBackend {
         ""
     }
 
+    fn name(&self) -> &'static str {
+        "the-backend"
+    }
+
     fn codegen_crate(&self, tcx: TyCtxt<'_>) -> Box<dyn Any> {
         Box::new(CodegenResults {
             modules: vec![],