Support emscripten in rustbuild

This commit is contained in:
Brian Anderson
2016-08-30 22:56:26 +00:00
parent 86fd661bcb
commit 1231ce33db

View File

@@ -975,7 +975,7 @@ impl Build {
// than an entry here.
let mut base = Vec::new();
if target != self.config.build && !target.contains("msvc") {
if target != self.config.build && !target.contains("msvc") && !target.contains("emscripten") {
base.push(format!("-Clinker={}", self.cc(target).display()));
}
return base