about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--build_system/src/config.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/build_system/src/config.rs b/build_system/src/config.rs
index 428f3766e5d..a5f802e293a 100644
--- a/build_system/src/config.rs
+++ b/build_system/src/config.rs
@@ -353,15 +353,6 @@ impl ConfigInfo {
         };
 
         if self.target_triple.is_empty() {
-            // TODO: set target triple.
-            // TODO: why do we even need to set target_triple?
-            // It seems to only be needed for the linker (we could add an environment variable to
-            // remove this need) and the sysroot (perhaps we could find another way to find it).
-            // TODO TODO: seems like we would still need OVERWRITE_TARGET_TRIPLE when using a
-            // json spec file.
-            // ====> maybe not since we specify both --target and --target-triple.
-        }
-        if self.target_triple.is_empty() {
             self.target_triple = self.host_triple.clone();
         }
         if self.target.is_empty() && !self.target_triple.is_empty() {
@@ -374,7 +365,6 @@ impl ConfigInfo {
             if self.target_triple.is_empty() {
                 return Err("Unknown non-native platform".to_string());
             }
-            // TODO: check if this is still needed.
             linker = Some(format!("-Clinker={}-gcc", self.target_triple));
             self.run_in_vm = true;
         }