aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2019-06-29 09:11:42 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2019-06-29 09:11:57 +0200
commitbe92041a592f65f38cee8475b61d35e7fcee3694 (patch)
tree3d7f59dff198183dee3920e790693a93063f3996 /build.rs
parentdf4a7fd3e5df370a83fcdc24aa628bed3fa9f543 (diff)
downloadrtic-be92041a592f65f38cee8475b61d35e7fcee3694.tar.gz
rtic-be92041a592f65f38cee8475b61d35e7fcee3694.tar.zst
rtic-be92041a592f65f38cee8475b61d35e7fcee3694.zip
WIP
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 2419b4eb..14c3d248 100644
--- a/build.rs
+++ b/build.rs
@@ -7,7 +7,10 @@ fn main() {
println!("cargo:rustc-cfg=armv6m")
}
- if target.starts_with("thumbv7m") | target.starts_with("thumbv7em") {
+ if target.starts_with("thumbv7m")
+ | target.starts_with("thumbv7em")
+ | target.starts_with("thumbv8m")
+ {
println!("cargo:rustc-cfg=armv7m")
}