aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-11-25 10:06:33 +0000
committerGravatar GitHub <noreply@github.com> 2021-11-25 10:06:33 +0000
commit3d33d32bc544e14df7204ccd64056ed254a46275 (patch)
tree7875eb520fbd88060aef5db9f8123c2b060a8f67
parenta78c497b7d1eb68335eb664e7dfbaf8a8fd879dd (diff)
parent0b4b0328f061ecbee6f716791de7e51e9010e935 (diff)
downloadcortex-m-3d33d32bc544e14df7204ccd64056ed254a46275.tar.gz
cortex-m-3d33d32bc544e14df7204ccd64056ed254a46275.tar.zst
cortex-m-3d33d32bc544e14df7204ccd64056ed254a46275.zip
Merge #362
362: add note r=jonathanpallant a=gnxlxnxx the same note as in https://github.com/rust-embedded/riscv/pull/87 Co-authored-by: gnxlxnxx <roman@kretschmer.email>
-rw-r--r--src/macros.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macros.rs b/src/macros.rs
index b578370..66b75b1 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -30,6 +30,9 @@ macro_rules! iprintln {
/// `None` variant the caller must ensure that the macro is called from a function that's executed
/// at most once in the whole lifetime of the program.
///
+/// # Note
+/// This macro is unsound on multi core systems.
+///
/// # Example
///
/// ``` no_run