about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-19 01:12:39 +0000
committerbors <bors@rust-lang.org>2025-04-19 01:12:39 +0000
commit2ef78586529b5f68cc42bcbe9b10b4afe56a942a (patch)
tree2c3fde3eac0a3f91ec51ab95e6df19f7c1cd992f /compiler/rustc_codegen_gcc/src/lib.rs
parent191df20fcad9331d3a948aa8e8556775ec3fe69d (diff)
parentcc359b8bb6c693086f69adf013430163992b1807 (diff)
downloadrust-2ef78586529b5f68cc42bcbe9b10b4afe56a942a.tar.gz
rust-2ef78586529b5f68cc42bcbe9b10b4afe56a942a.zip
Auto merge of #140015 - GuillaumeGomez:subtree-update_cg_gcc_2025-04-18, r=antoyo
Subtree update GCC backend

cc `@antoyo`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index bfa23174a19..624fdb4043c 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -188,10 +188,10 @@ impl CodegenBackend for GccCodegenBackend {
         crate::DEFAULT_LOCALE_RESOURCE
     }
 
-    fn init(&self, sess: &Session) {
+    fn init(&self, _sess: &Session) {
         #[cfg(feature = "master")]
         {
-            let target_cpu = target_cpu(sess);
+            let target_cpu = target_cpu(_sess);
 
             // Get the second TargetInfo with the correct CPU features by setting the arch.
             let context = Context::default();