]> git.proxmox.com Git - rustc.git/blob - vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs
New upstream version 1.70.0+dfsg2
[rustc.git] / vendor / bstr / src / unicode / fsm / sentence_break_fwd.rs
1 // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
2 //
3 // ucd-generate dfa --name SENTENCE_BREAK_FWD --minimize --sparse --anchored --state-size 4 src/unicode/fsm/ [snip (arg too long)]
4 //
5 // ucd-generate 0.2.12 is available on crates.io.
6
7 #[cfg(target_endian = "big")]
8 pub static SENTENCE_BREAK_FWD: ::once_cell::sync::Lazy<
9 ::regex_automata::SparseDFA<&'static [u8], u32>,
10 > = ::once_cell::sync::Lazy::new(|| {
11 #[repr(C)]
12 struct Aligned<B: ?Sized> {
13 _align: [u8; 0],
14 bytes: B,
15 }
16
17 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
18 _align: [],
19 bytes: *include_bytes!("sentence_break_fwd.bigendian.dfa"),
20 };
21
22 unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) }
23 });
24
25 #[cfg(target_endian = "little")]
26 pub static SENTENCE_BREAK_FWD: ::once_cell::sync::Lazy<
27 ::regex_automata::SparseDFA<&'static [u8], u32>,
28 > = ::once_cell::sync::Lazy::new(|| {
29 #[repr(C)]
30 struct Aligned<B: ?Sized> {
31 _align: [u8; 0],
32 bytes: B,
33 }
34
35 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
36 _align: [],
37 bytes: *include_bytes!("sentence_break_fwd.littleendian.dfa"),
38 };
39
40 unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) }
41 });