Skip to content

Commit

Permalink
Don't cross-compile Emscripten's LLVM
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
alexcrichton committed Feb 9, 2018
1 parent 02537fb commit 866d13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl Step for Llvm {
}

// http://llvm.org/docs/HowToCrossCompileLLVM.html
if target != build.build {
if target != build.build && !self.emscripten {
builder.ensure(Llvm {
target: build.build,
emscripten: false,
Expand Down

0 comments on commit 866d13a

Please sign in to comment.