From 1231ce33db8ea6f782df1fb016198e07d6efa3d7 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 30 Aug 2016 22:56:26 +0000 Subject: Support emscripten in rustbuild --- src/bootstrap/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootstrap/lib.rs') diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 3d1cf47cb7e..80726951ad8 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -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 -- cgit 1.4.1-3-g733a5