We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6083188 commit 4c129c0Copy full SHA for 4c129c0
src/bootstrap/src/core/sanity.rs
@@ -315,7 +315,7 @@ than building it.
315
.or_insert_with(|| Target::from_triple(&target.triple));
316
317
// compiler-rt c fallbacks for wasm cannot be built with gcc
318
- if (target.triple == "wasm32-unknown-unknown" || target.triple == "wasm32v1-none") // bare metal targets without wasi sdk
+ if target.contains("wasm") // bare metal targets without wasi sdk
319
&& (build.config.optimized_compiler_builtins(*target)
320
|| build.config.rust_std_features.contains("compiler-builtins-c"))
321
{
0 commit comments