mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Don't require a C compiler on wasm32
This commit is contained in:
parent
81a1121341
commit
b70124ed47
@ -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…
Reference in New Issue
Block a user