Skip to content

Commit 458f411

Browse files
authored
Auto merge of #36261 - parched:soft-float, r=pnkfelix
Fix documentation with 'soft-float' codegen option This option doesn't cause software FP routines to be called, it only changes the float ABI. Additionally, this option is ignored by all targets, except the ARM eabihf ones.
2 parents a09cb57 + ffdd982 commit 458f411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
770770
no_vectorize_slp: bool = (false, parse_bool, [TRACKED],
771771
"don't run LLVM's SLP vectorization pass"),
772772
soft_float: bool = (false, parse_bool, [TRACKED],
773-
"generate software floating point library calls"),
773+
"use soft float ABI (*eabihf targets only)"),
774774
prefer_dynamic: bool = (false, parse_bool, [TRACKED],
775775
"prefer dynamic linking to static linking"),
776776
no_integrated_as: bool = (false, parse_bool, [TRACKED],

0 commit comments

Comments
 (0)