[go: up one dir, main page]

memchr 2.6.1

Safe interface to memchr.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[macro_use]
pub(crate) mod memchr;
pub(crate) mod packedpair;
#[macro_use]
pub(crate) mod substring;

// For debugging, particularly in CI, print out the byte order of the current
// target.
#[test]
fn byte_order() {
    #[cfg(target_endian = "little")]
    std::eprintln!("LITTLE ENDIAN");
    #[cfg(target_endian = "big")]
    std::eprintln!("BIG ENDIAN");
}