From 4b4dce9a2715d99a27187332b4b48faba1b3679c Mon Sep 17 00:00:00 2001 From: pravdomil Date: Thu, 14 Mar 2019 14:53:38 +0100 Subject: [PATCH] fix 2 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b0f061f..583afc0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1733,7 +1733,7 @@ impl Build { } } else if target.contains("cloudabi") { format!("{}-{}", target, traditional) - } else if target == "wasm32-unknown-wasi" || target == "wasm32-unknown-unknown" { { + } 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-"