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 /tests | |
| parent | a00a5159cfac23e9b1551566cf71ff31edc1f11b (diff) | |
Add a leading dash to linker plugin arguments in the gcc codegen
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui-fulldeps/codegen-backend/auxiliary/the_backend.rs | 4 |
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![], |
