Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

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

Lines changed: 1 addition & 1 deletion
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)