Skip to content

Commit

Permalink
Using parsed codegen flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm0 committed Sep 7, 2023
1 parent bb6dcf5 commit 487766c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
return nullptr;
}

TargetOptions Options;
TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Trip);

Options.FloatABIType = FloatABI::Default;
if (UseSoftFloat) {
Expand Down

0 comments on commit 487766c

Please sign in to comment.