File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ pub fn llvm(build: &Build, target: &str) {
65
65
. out_dir ( & dst)
66
66
. profile ( if build. config . llvm_optimize { "Release" } else { "Debug" } )
67
67
. define ( "LLVM_ENABLE_ASSERTIONS" , assertions)
68
- . define ( "LLVM_TARGETS_TO_BUILD" , "X86;ARM;AArch64;Mips;PowerPC;SystemZ" )
68
+ . define ( "LLVM_TARGETS_TO_BUILD" , "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend " )
69
69
. define ( "LLVM_INCLUDE_EXAMPLES" , "OFF" )
70
70
. define ( "LLVM_INCLUDE_TESTS" , "OFF" )
71
71
. define ( "LLVM_INCLUDE_DOCS" , "OFF" )
Original file line number Diff line number Diff line change @@ -434,6 +434,10 @@ pub fn initialize_available_targets() {
434
434
LLVMInitializeSystemZTargetMC ,
435
435
LLVMInitializeSystemZAsmPrinter ,
436
436
LLVMInitializeSystemZAsmParser ) ;
437
+ init_target ! ( llvm_component = "jsbackend" ,
438
+ LLVMInitializeJSBackendTargetInfo ,
439
+ LLVMInitializeJSBackendTarget ,
440
+ LLVMInitializeJSBackendTargetMC ) ;
437
441
}
438
442
439
443
pub fn last_error ( ) -> Option < String > {
You can’t perform that action at this time.
0 commit comments