diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/boot/bootloader/stm32/build.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/boot/bootloader/stm32/build.rs b/examples/boot/bootloader/stm32/build.rs index 3997702f6..fd605991f 100644 --- a/examples/boot/bootloader/stm32/build.rs +++ b/examples/boot/bootloader/stm32/build.rs | |||
| @@ -24,9 +24,4 @@ fn main() { | |||
| 24 | if env::var("CARGO_FEATURE_DEFMT").is_ok() { | 24 | if env::var("CARGO_FEATURE_DEFMT").is_ok() { |
| 25 | println!("cargo:rustc-link-arg-bins=-Tdefmt.x"); | 25 | println!("cargo:rustc-link-arg-bins=-Tdefmt.x"); |
| 26 | } | 26 | } |
| 27 | |||
| 28 | let target = env::var("TARGET").unwrap(); | ||
| 29 | if target.starts_with("thumbv6m-") { | ||
| 30 | println!("cargo:rustc-cfg=armv6m"); | ||
| 31 | } | ||
| 32 | } | 27 | } |
