Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1dbac commit dee1b19Copy full SHA for dee1b19
src/bootstrap/src/core/sanity.rs
@@ -334,7 +334,8 @@ than building it.
334
|| build.config.rust_std_features.contains("compiler-builtins-c"))
335
{
336
let cc_tool = build.cc_tool(*target);
337
- if !cc_tool.is_like_clang() {
+ if !cc_tool.is_like_clang() && !cc_tool.path().ends_with("emcc") {
338
+ // emcc works as well
339
panic!(
340
"Clang is required to build C code for Wasm targets, got `{}` instead\n\
341
this is because compiler-builtins is configured to build C source. Either \
0 commit comments