Skip to content

Commit

Permalink
Don't require a C compiler on wasm32
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Apr 10, 2019
1 parent 81a1121 commit b70124e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/sanity.rs
Expand Up @@ -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) {
Expand Down

0 comments on commit b70124e

Please sign in to comment.