]> git.proxmox.com Git - rustc.git/blob - vendor/bstr/src/unicode/fsm/simple_word_fwd.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / vendor / bstr / src / unicode / fsm / simple_word_fwd.rs
1 // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
2 //
3 // ucd-generate dfa --name SIMPLE_WORD_FWD --sparse --minimize --state-size 2 src/unicode/fsm/ \w
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 SIMPLE_WORD_FWD: ::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!("simple_word_fwd.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 SIMPLE_WORD_FWD: ::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!("simple_word_fwd.littleendian.dfa"),
37 };
38
39 unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) }
40 };
41 }