Skip to content

Commit 8205303

Browse files
authored
use clang for wasm32-unknown-unknown target
1 parent 7444e13 commit 8205303

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)