| Crates.io | mem-barrier |
| lib.rs | mem-barrier |
| version | 0.1.0 |
| created_at | 2025-12-02 18:01:43.842181+00 |
| updated_at | 2025-12-02 18:01:43.842181+00 |
| description | Cross-architecture, no-std memory barriers. |
| homepage | |
| repository | https://github.com/rust-osdev/mem-barrier |
| max_upload_size | |
| id | 1962323 |
| size | 34,628 |
This crate provides cross-architecture, no-std memory barriers.
For API documentation, see the docs.
use mem_barrier::{mem_barrier, BarrierKind, BarrierType};
mem_barrier(BarrierKind::Mmio, BarrierType::General);
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.