Skip to content

Commit 866d13a

Browse files
committed
Don't cross-compile Emscripten's LLVM
Eventually the LLVM version of Emscripten and the main LLVM will diverge, and we can't cross-compile an older version of LLVM using a newer version of LLVM's `llvm-config`.
1 parent 02537fb commit 866d13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl Step for Llvm {
186186
}
187187

188188
// http://llvm.org/docs/HowToCrossCompileLLVM.html
189-
if target != build.build {
189+
if target != build.build && !self.emscripten {
190190
builder.ensure(Llvm {
191191
target: build.build,
192192
emscripten: false,

0 commit comments

Comments
 (0)