Skip to content

Commit b70124e

Browse files
committed
Don't require a C compiler on wasm32
1 parent 81a1121 commit b70124e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bootstrap/sanity.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ pub fn check(build: &mut Build) {
131131
continue;
132132
}
133133

134+
// We don't use a C compiler on wasm32
135+
if target.contains("wasm32") {
136+
continue;
137+
}
138+
134139
if !build.config.dry_run {
135140
cmd_finder.must_have(build.cc(*target));
136141
if let Some(ar) = build.ar(*target) {

0 commit comments

Comments
 (0)