1 // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: 2 // 3 // ucd-generate dfa --name GRAPHEME_BREAK_REV --reverse --longest --sparse --minimize --anchored --state-size 2 src/unicode/fsm/ [snip (arg too long)] 4 // 5 // ucd-generate 0.2.8 is available on crates.io. 6 7 #[cfg(target_endian = "big")] 8 lazy_static! { 9 pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = { 10 #[repr(C)] 11 struct Aligned<B: ?Sized> { 12 _align: [u8; 0], 13 bytes: B, 14 } 15 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 17 _align: [], 18 bytes: *include_bytes!("grapheme_break_rev.bigendian.dfa"), 19 }; 20 21 unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } 22 }; 23 } 24 25 #[cfg(target_endian = "little")] 26 lazy_static! { 27 pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = { 28 #[repr(C)] 29 struct Aligned<B: ?Sized> { 30 _align: [u8; 0], 31 bytes: B, 32 } 33 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 35 _align: [], 36 bytes: *include_bytes!("grapheme_break_rev.littleendian.dfa"), 37 }; 38 39 unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } 40 }; 41 } 42