Skip to content

Commit 755c951

Browse files
committed
Add mention of nightly flag in documentation
1 parent ae88a1c commit 755c951

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,13 @@
409409
//! If the "rt" Cargo feature of the svd2rust generated crate is enabled the crate will populate the
410410
//! part of the vector table that contains the interrupt vectors and provide an
411411
//! [`interrupt!`](macro.interrupt.html) macro that can be used to register interrupt handlers.
412+
//!
413+
//! ## the `--nightly` flag
414+
//!
415+
//! The `--nightly` flag can be passed to `svd2rust` to enable features in the generated api that are only available to a nightly
416+
//! compiler. These features are
417+
//!
418+
//! - `#[feature(untagged_unions)]` for overlapping/overloaded registers
412419
413420
// NOTE This file is for documentation only
414421

0 commit comments

Comments
 (0)