From f1f90b17b5c1c5cb56b6ac7722b5ef91b6cc3f2d Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Mon, 27 Jun 2022 14:24:19 +0200 Subject: Add build.rs to detect armv6 --- examples/boot/bootloader/stm32/build.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples') 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() { if env::var("CARGO_FEATURE_DEFMT").is_ok() { println!("cargo:rustc-link-arg-bins=-Tdefmt.x"); } - - let target = env::var("TARGET").unwrap(); - if target.starts_with("thumbv6m-") { - println!("cargo:rustc-cfg=armv6m"); - } } -- cgit