Skip to main content

kernal_api/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4/// Marker proving that version 0.0.0 is a name reservation, not a usable API.
5pub const RESERVATION_ONLY: bool = true;
6
7#[cfg(test)]
8mod tests {
9    use super::RESERVATION_ONLY;
10
11    #[test]
12    fn zero_release_is_explicitly_a_reservation() {
13        assert!(RESERVATION_ONLY);
14    }
15}