aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-01-15 19:22:20 +0100
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-01-15 19:22:20 +0100
commita8962d44d46ef3c16b3e5fb645fead4731cd2b24 (patch)
treebf76dbf189aec84e4c532ed6ed751693b272124d /src/lib.rs
parentd4de1c2d45e64e1c67c115c573a9a0ed1252cd94 (diff)
downloadcortex-m-a8962d44d46ef3c16b3e5fb645fead4731cd2b24.tar.gz
cortex-m-a8962d44d46ef3c16b3e5fb645fead4731cd2b24.tar.zst
cortex-m-a8962d44d46ef3c16b3e5fb645fead4731cd2b24.zip
fixes and make sure the whole documentation is visible on docs.rs
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index aabd189..9c00cea 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -24,6 +24,8 @@ mod macros;
pub mod asm;
pub mod exception;
pub mod interrupt;
+// NOTE(target_arch) is for documentation purposes
+#[cfg(any(armv7m, target_arch = "x86_64"))]
pub mod itm;
pub mod peripheral;
pub mod register;