We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
singleton!
1 parent 0e53054 commit e0eeec4Copy full SHA for e0eeec4
src/macros.rs
@@ -31,7 +31,10 @@ macro_rules! iprintln {
31
/// at most once in the whole lifetime of the program.
32
///
33
/// # Notes
34
-/// This macro is unsound on multi core systems.
+///
35
+/// This macro requires a `critical-section` implementation to be set. For most single core systems,
36
+/// you can enable the `critical-section-single-core` feature for this crate. For other systems, you
37
+/// have to provide one from elsewhere, typically your chip's HAL crate.
38
39
/// For debuggability, you can set an explicit name for a singleton. This name only shows up the
40
/// the debugger and is not referencable from other code. See example below.
0 commit comments