about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJames Duley <jagduley@gmail.com>2016-09-04 13:47:25 +0100
committerJames Duley <jagduley@gmail.com>2016-09-04 13:47:25 +0100
commitffdd982fc13f31cde692caf9711d013ff17f35b2 (patch)
tree3c3d347b93064e160ae0c60b5274ca8fcbdddf82 /src
parentb7d19899de417106e9a9c73d21b933b34d1478bd (diff)
downloadrust-ffdd982fc13f31cde692caf9711d013ff17f35b2.tar.gz
rust-ffdd982fc13f31cde692caf9711d013ff17f35b2.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/session/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index a2f926aa92c..70d6e7be813 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -770,7 +770,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
     no_vectorize_slp: bool = (false, parse_bool, [TRACKED],
         "don't run LLVM's SLP vectorization pass"),
     soft_float: bool = (false, parse_bool, [TRACKED],
-        "generate software floating point library calls"),
+        "use soft float ABI (*eabihf targets only)"),
     prefer_dynamic: bool = (false, parse_bool, [TRACKED],
         "prefer dynamic linking to static linking"),
     no_integrated_as: bool = (false, parse_bool, [TRACKED],