Skip to content

Commit cb3f579

Browse files
badboybrson
authored andcommitted
Make the jsbackend an optional component
1 parent 939bd47 commit cb3f579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ endif
300300
# LLVM macros
301301
######################################################################
302302

303-
LLVM_OPTIONAL_COMPONENTS=x86 arm aarch64 mips powerpc pnacl systemz
303+
LLVM_OPTIONAL_COMPONENTS=x86 arm aarch64 mips powerpc pnacl systemz jsbackend
304304
LLVM_REQUIRED_COMPONENTS=ipo bitreader bitwriter linker asmparser mcjit \
305305
interpreter instrumentation
306306

src/librustc_llvm/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fn main() {
6666
let host = env::var("HOST").expect("HOST was not set");
6767
let is_crossed = target != host;
6868

69-
let optional_components = ["x86", "arm", "aarch64", "mips", "powerpc", "pnacl", "systemz"];
69+
let optional_components = ["x86", "arm", "aarch64", "mips", "powerpc", "pnacl", "systemz", "jsbackend"];
7070

7171
// FIXME: surely we don't need all these components, right? Stuff like mcjit
7272
// or interpreter the compiler itself never uses.

0 commit comments

Comments
 (0)