diff options
author | 2021-11-12 21:55:10 +0100 | |
---|---|---|
committer | 2021-11-12 21:55:10 +0100 | |
commit | 0b4b0328f061ecbee6f716791de7e51e9010e935 (patch) | |
tree | 11d7379d2d72d9e705480fb0fab2a55f4cb5eb73 | |
parent | 6b013138b734b9bbeb24a345f75d2bcc1c69fa8d (diff) | |
download | cortex-m-0b4b0328f061ecbee6f716791de7e51e9010e935.tar.gz cortex-m-0b4b0328f061ecbee6f716791de7e51e9010e935.tar.zst cortex-m-0b4b0328f061ecbee6f716791de7e51e9010e935.zip |
add note
the same note as in https://github.com/rust-embedded/riscv/pull/87
-rw-r--r-- | src/macros.rs | 3 |
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 |