From 0b4b0328f061ecbee6f716791de7e51e9010e935 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Fri, 12 Nov 2021 21:55:10 +0100 Subject: [PATCH] add note the same note as in https://github.com/rust-embedded/riscv/pull/87 --- src/macros.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/macros.rs b/src/macros.rs index b578370f..66b75b17 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