Don't require a C compiler on wasm32
This commit is contained in:
parent
81a1121341
commit
b70124ed47
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue