diff options
author | 2021-01-21 12:49:15 +0000 | |
---|---|---|
committer | 2021-01-21 12:49:15 +0000 | |
commit | 4bb29e702b650e7cc245d21dc33b5ce1d44b3147 (patch) | |
tree | 8ae18a27ed280be33e5f2760738db356888231c8 /cortex-m-rt/build.rs | |
parent | 2dfbe1127f681dba9d3fc49c92fcbad0867a9987 (diff) | |
parent | 4426f26ab0aed70ae2cc433f55ee48f62d7eb46b (diff) | |
download | cortex-m-4bb29e702b650e7cc245d21dc33b5ce1d44b3147.tar.gz cortex-m-4bb29e702b650e7cc245d21dc33b5ce1d44b3147.tar.zst cortex-m-4bb29e702b650e7cc245d21dc33b5ce1d44b3147.zip |
Merge #301
301: Initialize RAM in assembly r=adamgreig a=jonas-schievink
Fixes #300
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Co-authored-by: Adam Greig <adam@adamgreig.com>
Diffstat (limited to 'cortex-m-rt/build.rs')
-rw-r--r-- | cortex-m-rt/build.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cortex-m-rt/build.rs b/cortex-m-rt/build.rs index 20f32b8..6758d9e 100644 --- a/cortex-m-rt/build.rs +++ b/cortex-m-rt/build.rs @@ -18,8 +18,6 @@ fn main() { let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); - has_fpu(&target); - if target.starts_with("thumbv") { fs::copy( format!("bin/{}.a", target), @@ -92,9 +90,3 @@ handlers."); println!("cargo:rerun-if-changed=build.rs"); println!("cargo:rerun-if-changed=link.x.in"); } - -fn has_fpu(target: &str) { - if target.ends_with("eabihf") { - println!("cargo:rustc-cfg=has_fpu"); - } -} |