Skip to content

Commit 487766c

Browse files
committed
Using parsed codegen flags
1 parent bb6dcf5 commit 487766c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
424424
return nullptr;
425425
}
426426

427-
TargetOptions Options;
427+
TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Trip);
428428

429429
Options.FloatABIType = FloatABI::Default;
430430
if (UseSoftFloat) {

0 commit comments

Comments
 (0)