diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2018-11-03 17:02:41 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2018-11-03 17:16:55 +0100 |
| commit | c631049efcadca8b07940c794cce2be58fa48444 (patch) | |
| tree | f6bd73e5c396fc06072557ee965cc59e9c8e3e9f /build.rs | |
| parent | 653338e7997a0cdc5deaed98b1bb5f60006717ed (diff) | |
v0.4.0
closes #32
closes #33
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ use std::env; fn main() { let target = env::var("TARGET").unwrap(); - if target.starts_with("thumbv6m-") { - println!("cargo:rustc-cfg=armv6m"); + if target.starts_with("thumbv7m") | target.starts_with("thumbv7em") { + println!("cargo:rustc-cfg=armv7m") } println!("cargo:rerun-if-changed=build.rs"); |
