diff options
author | 2018-05-11 19:24:10 +0200 | |
---|---|---|
committer | 2018-05-11 19:30:22 +0200 | |
commit | 7d51707b5f1b19c148ec4c21decd83abcdf7b2ca (patch) | |
tree | 7b89d335aa89dbdd1fc21c1f4702517fd82b3de5 /src/lib.rs | |
parent | 2cd6092848cfa35ab64fce7ccf87e52402fc41e6 (diff) | |
download | cortex-m-7d51707b5f1b19c148ec4c21decd83abcdf7b2ca.tar.gz cortex-m-7d51707b5f1b19c148ec4c21decd83abcdf7b2ca.tar.zst cortex-m-7d51707b5f1b19c148ec4c21decd83abcdf7b2ca.zip |
simplify #[cfg]s
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -45,8 +45,7 @@ mod macros; pub mod asm; pub mod interrupt; -// NOTE(target_arch = "x86_64") is used throughout this crate for documentation purposes -#[cfg(any(armv7m, target_arch = "x86_64"))] +#[cfg(not(armv6m))] pub mod itm; pub mod peripheral; pub mod register; |