]> git.proxmox.com Git - cargo.git/blame - vendor/bstr-0.2.17/src/unicode/fsm/simple_word_fwd.rs
New upstream version 0.66.0+pve1
[cargo.git] / vendor / bstr-0.2.17 / src / unicode / fsm / simple_word_fwd.rs
CommitLineData
e1a6267d
FG
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.9 is available on crates.io.
6
7#[cfg(target_endian = "big")]
8lazy_static::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 {
22 ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes)
23 }
24 };
25}
26
27#[cfg(target_endian = "little")]
28lazy_static::lazy_static! {
29 pub static ref SIMPLE_WORD_FWD: ::regex_automata::SparseDFA<&'static [u8], u16> = {
30 #[repr(C)]
31 struct Aligned<B: ?Sized> {
32 _align: [u8; 0],
33 bytes: B,
34 }
35
36 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
37 _align: [],
38 bytes: *include_bytes!("simple_word_fwd.littleendian.dfa"),
39 };
40
41 unsafe {
42 ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes)
43 }
44 };
45}