Support emscripten in rustbuild
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user