Skip to content

Commit caf78d5

Browse files
authored
Merge pull request #381 from pravdomil/patch-1
use clang for wasm32-unknown-unknown target
2 parents 7444e13 + 4b4dce9 commit caf78d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ impl Build {
17331733
}
17341734
} else if target.contains("cloudabi") {
17351735
format!("{}-{}", target, traditional)
1736-
} else if target == "wasm32-unknown-wasi" {
1736+
} else if target == "wasm32-unknown-wasi" || target == "wasm32-unknown-unknown" {
17371737
"clang".to_string()
17381738
} else if self.get_host()? != target {
17391739
// CROSS_COMPILE is of the form: "arm-linux-gnueabi-"

0 commit comments

Comments
 (0)