Skip to content
Permalink
Browse files

Don't require a C compiler on wasm32

  • Loading branch information...
Zoxc committed Apr 9, 2019
1 parent 81a1121 commit b70124ed479bbdd846240ec14c44676687eeaba1
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/bootstrap/sanity.rs
@@ -131,6 +131,11 @@ pub fn check(build: &mut Build) {
continue;
}

// We don't use a C compiler on wasm32
if target.contains("wasm32") {
continue;
}

if !build.config.dry_run {
cmd_finder.must_have(build.cc(*target));
if let Some(ar) = build.ar(*target) {

0 comments on commit b70124e

Please sign in to comment.
You can’t perform that action at this time.