Skip to content

Commit 1231ce3

Browse files
committed
Support emscripten in rustbuild
1 parent 86fd661 commit 1231ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ impl Build {
975975
// than an entry here.
976976

977977
let mut base = Vec::new();
978-
if target != self.config.build && !target.contains("msvc") {
978+
if target != self.config.build && !target.contains("msvc") && !target.contains("emscripten") {
979979
base.push(format!("-Clinker={}", self.cc(target).display()));
980980
}
981981
return base

0 commit comments

Comments
 (0)