Skip to content

Commit ca44556

Browse files
committed
jit: Initialize native parser so rust-repl works
1 parent ebe6b2d commit ca44556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustllvm/RustWrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ LLVMRustExecuteJIT(void* mem,
342342

343343
InitializeNativeTarget();
344344
InitializeNativeTargetAsmPrinter();
345+
InitializeNativeTargetAsmParser();
345346

346347
std::string Err;
347348
TargetOptions Options;

0 commit comments

Comments
 (0)