about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/build_system/src/config.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-07-18 18:31:20 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-07-18 18:31:20 +0200
commit66017df336ae650c7fff2970e470a792036ba4be (patch)
tree343a512ef5da9dc163747d0d7fe1938478751237 /compiler/rustc_codegen_gcc/build_system/src/config.rs
parent82310651b93a594a3fd69015e1562186a080d94c (diff)
parentf682d09eefc6700b9e5851ef193847959acf4fac (diff)
downloadrust-66017df336ae650c7fff2970e470a792036ba4be.tar.gz
rust-66017df336ae650c7fff2970e470a792036ba4be.zip
Merge commit 'f682d09eefc6700b9e5851ef193847959acf4fac' into subtree-update_cg_gcc_2025-07-18
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_system/src/config.rs')
-rw-r--r--compiler/rustc_codegen_gcc/build_system/src/config.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_gcc/build_system/src/config.rs b/compiler/rustc_codegen_gcc/build_system/src/config.rs
index 650c030ca53..a5f802e293a 100644
--- a/compiler/rustc_codegen_gcc/build_system/src/config.rs
+++ b/compiler/rustc_codegen_gcc/build_system/src/config.rs
@@ -352,11 +352,6 @@ impl ConfigInfo {
             None => return Err("no host found".to_string()),
         };
 
-        if self.target_triple.is_empty()
-            && let Some(overwrite) = env.get("OVERWRITE_TARGET_TRIPLE")
-        {
-            self.target_triple = overwrite.clone();
-        }
         if self.target_triple.is_empty() {
             self.target_triple = self.host_triple.clone();
         }