devela/sys/arch/mod.rs
1// devela::sys::arch
2//
3//! Architecture-specific intrinsics.
4//!
5//! LINKS
6//! - <https://github.com/rust-lang/stdarch>
7#![doc = crate::doc_!(extends: arch)]
8//
9// NOTE In order to show in the docs all possible feature-gated functionality,
10// they have to be compiled with `RUSTDOCFLAGS="-Ctarget-cpu=native"`.
11// See:
12// - Cargo.toml::[package.metadata.docs.rs]
13// - .cargo/config.toml
14// - utils/check.rs
15//
16
17mod namespace;
18mod reexports;
19mod wasm;
20
21crate::items! { // structural access: _mods, _all, _always
22 #[allow(unused)]
23 pub use _mods::*;
24 #[allow(unused)] #[doc(hidden, no_inline)]
25 pub use _always::*;
26
27 mod _mods {
28 pub use super::{namespace::*, reexports::*, wasm::*};
29 }
30 pub(super) mod _all {
31 #[doc(inline)]
32 pub use super::_mods::*;
33 }
34 pub(super) mod _always { #![allow(unused)]
35 pub use super::reexports::*;
36 }
37}