about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJayden Qi <jaydeniqv2@gmail.com>2025-03-14 18:40:11 -0700
committerJayden Qi <jaydeniqv2@gmail.com>2025-06-30 13:46:12 -0700
commite2d2926e6840294fe2e0b1a72d162e8d9facf8ea (patch)
tree88a732e0a541ac34b6950e306ad83f44ae473fdc /src/bootstrap
parent7804d949dfcc32003dfd5412b44066d3546e4299 (diff)
downloadrust-e2d2926e6840294fe2e0b1a72d162e8d9facf8ea.tar.gz
rust-e2d2926e6840294fe2e0b1a72d162e8d9facf8ea.zip
fix: install correct cc for wasm32-unknown-emscripten
Also fixed a typo in the sanity check for bootstrap, as we are checking for clang-likeness in every wasm target.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/sanity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/sanity.rs b/src/bootstrap/src/core/sanity.rs
index fa6987d4bf5..37b2d782931 100644
--- a/src/bootstrap/src/core/sanity.rs
+++ b/src/bootstrap/src/core/sanity.rs
@@ -329,7 +329,7 @@ than building it.
             .or_insert_with(|| Target::from_triple(&target.triple));
 
         // compiler-rt c fallbacks for wasm cannot be built with gcc
-        if target.contains("wasm") // bare metal targets without wasi sdk
+        if target.contains("wasm")
             && (build.config.optimized_compiler_builtins(*target)
                 || build.config.rust_std_features.contains("compiler-builtins-c"))
         {