rustc_llvm: expose FloatABIType target machine parameter

This commit is contained in:
Ralf Jung
2024-12-30 18:10:59 +01:00
parent f95c996750
commit fff026c8e5
4 changed files with 39 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ impl OwnedTargetMachine {
model: llvm::CodeModel,
reloc: llvm::RelocModel,
level: llvm::CodeGenOptLevel,
use_soft_fp: bool,
float_abi: llvm::FloatAbi,
function_sections: bool,
data_sections: bool,
unique_section_names: bool,
@@ -57,7 +57,7 @@ impl OwnedTargetMachine {
model,
reloc,
level,
use_soft_fp,
float_abi,
function_sections,
data_sections,
unique_section_names,