Skip to content

Commit 1ded138

Browse files
committed
Enable arm error handling abi 2
1 parent f581b2f commit 1ded138

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rustllvm/RustWrapper.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,9 @@ LLVMRustWriteOutputFile(LLVMPassManagerRef PMR,
429429

430430
LLVMRustInitializeTargets();
431431

432-
int argc = 2;
433-
const char* argv[] = {"rustc", "-arm-enable-ehabi"};
432+
int argc = 3;
433+
const char* argv[] = {"rustc", "-arm-enable-ehabi",
434+
"-arm-enable-ehabi-descriptors"};
434435
cl::ParseCommandLineOptions(argc, argv);
435436

436437
TargetOptions Options;

0 commit comments

Comments
 (0)