Skip to content

Commit 9ce7820

Browse files
committed
Address review comments: remove duplicate rustc-cfg-check lines
(also put them in a better order)
1 parent 674bf52 commit 9ce7820

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cortex-m/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ fn main() {
2929
}
3030

3131
println!("cargo:rustc-check-cfg=cfg(armv6m)");
32-
println!("cargo:rustc-check-cfg=cfg(armv7em)");
33-
println!("cargo:rustc-check-cfg=cfg(armv7m)");
3432
println!("cargo:rustc-check-cfg=cfg(armv7m)");
35-
println!("cargo:rustc-check-cfg=cfg(armv8m)");
33+
println!("cargo:rustc-check-cfg=cfg(armv7em)");
3634
println!("cargo:rustc-check-cfg=cfg(armv8m)");
3735
println!("cargo:rustc-check-cfg=cfg(armv8m_base)");
3836
println!("cargo:rustc-check-cfg=cfg(armv8m_main)");

0 commit comments

Comments
 (0)