Skip to content

Commit 4b479d0

Browse files
committed
Document lack of support for RISCV without atomic
1 parent 74ad839 commit 4b479d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,11 @@
489489
//! The `--atomics` flag can be passed to `svd2rust` to extends the register API with operations to
490490
//! atomically set, clear, and toggle specific bits. The atomic operations allow limited
491491
//! modification of register bits without read-modify-write sequences. As such, they can be
492-
//! concurrently called on different bits in the same register without data races.
492+
//! concurrently called on different bits in the same register without data races. This flag won't
493+
//! work for RISCV chips without the atomic extension.
493494
//!
494-
//! `portable-atomic` v0.3.15 must be added to the dependencies, with default features off if
495-
//! possible to disable the `fallback` feature.
495+
//! `portable-atomic` v0.3.15 must be added to the dependencies, with default features off to
496+
//! disable the `fallback` feature.
496497
//!
497498
//! Usage examples:
498499
//!

0 commit comments

Comments
 (0)