diff options
author | 2019-03-20 07:27:50 +0000 | |
---|---|---|
committer | 2019-03-20 07:27:50 +0000 | |
commit | f1c317d028fdd2e7b407bb9d22f2d3b3d284e721 (patch) | |
tree | 01682e965a7a57c95520fea0bf988a05f8149a9a | |
parent | 1d40f01c80b4a02f79bcf59510a7c92862edaafc (diff) | |
parent | 710a06a5fb6ad70f726538caf5a5a6364bc3011d (diff) | |
download | cortex-m-f1c317d028fdd2e7b407bb9d22f2d3b3d284e721.tar.gz cortex-m-f1c317d028fdd2e7b407bb9d22f2d3b3d284e721.tar.zst cortex-m-f1c317d028fdd2e7b407bb9d22f2d3b3d284e721.zip |
Merge #185
185: Remove redundant and incorrect target FPU check r=therealprof a=jonas-schievink
Most target triples with FPU end in `gnueabihf` or `musleabihf`, so this isn't catching them. Since the `has_fpu` function does, this shouldn't change behavior.
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
-rw-r--r-- | cortex-m-rt/build.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cortex-m-rt/build.rs b/cortex-m-rt/build.rs index 5a8fb9c..87f000a 100644 --- a/cortex-m-rt/build.rs +++ b/cortex-m-rt/build.rs @@ -73,10 +73,6 @@ handlers."); max_int_handlers ).unwrap(); - if target.ends_with("-eabihf") { - println!("cargo:rustc-cfg=has_fpu"); - } - println!("cargo:rustc-link-search={}", out.display()); println!("cargo:rerun-if-changed=build.rs"); |