diff options
author | 2019-03-18 22:25:16 +0100 | |
---|---|---|
committer | 2019-03-18 22:25:16 +0100 | |
commit | 710a06a5fb6ad70f726538caf5a5a6364bc3011d (patch) | |
tree | 01682e965a7a57c95520fea0bf988a05f8149a9a /cortex-m-rt/build.rs | |
parent | 1d40f01c80b4a02f79bcf59510a7c92862edaafc (diff) | |
download | cortex-m-710a06a5fb6ad70f726538caf5a5a6364bc3011d.tar.gz cortex-m-710a06a5fb6ad70f726538caf5a5a6364bc3011d.tar.zst cortex-m-710a06a5fb6ad70f726538caf5a5a6364bc3011d.zip |
Remove redundant and incorrect target FPU check
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.
Diffstat (limited to 'cortex-m-rt/build.rs')
-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"); |