aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / unicode-ident / tests / fst / mod.rs
| 1 | #![allow(clippy::module_name_repetitions)] |
| 2 | |
| 3 | pub fn xid_start_fst() -> fst::Set<&'static [u8]> { |
| 4 | let data = include_bytes!("xid_start.fst"); |
| 5 | fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap()) |
| 6 | } |
| 7 | |
| 8 | pub fn xid_continue_fst() -> fst::Set<&'static [u8]> { |
| 9 | let data = include_bytes!("xid_continue.fst"); |
| 10 | fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap()) |
| 11 | } |