Skip to content

Commit 710a06a

Browse files
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.
1 parent 1d40f01 commit 710a06a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cortex-m-rt/build.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ handlers.");
7373
max_int_handlers
7474
).unwrap();
7575

76-
if target.ends_with("-eabihf") {
77-
println!("cargo:rustc-cfg=has_fpu");
78-
}
79-
8076
println!("cargo:rustc-link-search={}", out.display());
8177

8278
println!("cargo:rerun-if-changed=build.rs");

0 commit comments

Comments
 (0)