Browse Source

use clang for wasm32-unknown-unknown target

urgh
pravdomil 6 years ago
committed by GitHub
parent
commit
8205303b6b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib.rs

2
src/lib.rs

@ -1733,7 +1733,7 @@ impl Build {
}
} else if target.contains("cloudabi") {
format!("{}-{}", target, traditional)
} else if target == "wasm32-unknown-wasi" {
} } else if target == "wasm32-unknown-wasi" || target == "wasm32-unknown-unknown" { {
"clang".to_string()
} else if self.get_host()? != target {
// CROSS_COMPILE is of the form: "arm-linux-gnueabi-"

Loading…
Cancel
Save