aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2023-01-28 19:38:07 +0000
committerGravatar GitHub <noreply@github.com> 2023-01-28 19:38:07 +0000
commitac8d42bb2e0b41ea29efe3fbeb85273d388e6a0c (patch)
tree2be05a76f81e67543e7e60042376338503c03f9e
parent1a215916eeebdf96d4530e0afb1baa91b93eefb7 (diff)
parent15ff2faa7dd99a9b5df811725038ddfe0542d0f5 (diff)
downloadcortex-m-ac8d42bb2e0b41ea29efe3fbeb85273d388e6a0c.tar.gz
cortex-m-ac8d42bb2e0b41ea29efe3fbeb85273d388e6a0c.tar.zst
cortex-m-ac8d42bb2e0b41ea29efe3fbeb85273d388e6a0c.zip
Merge #462
462: panic-itm: update crate config so docs aren't empty r=newAM a=tgross35 The docs are currently empty since the module is disabled https://docs.rs/panic-itm/0.4.2/panic_itm/index.html Co-authored-by: Trevor Gross <tmgross@umich.edu>
-rw-r--r--panic-itm/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/panic-itm/src/lib.rs b/panic-itm/src/lib.rs
index 8a2c248..5d969b0 100644
--- a/panic-itm/src/lib.rs
+++ b/panic-itm/src/lib.rs
@@ -28,7 +28,7 @@
//! panicked at 'FOO', src/main.rs:6:5
//! ```
-#![cfg(all(target_arch = "arm", target_os = "none"))]
+#![cfg(any(all(target_arch = "arm", target_os = "none"), doc))]
#![deny(missing_docs)]
#![deny(warnings)]
#![no_std]