[go: up one dir, main page]

memchr 2.4.1

Safe interface to memchr.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod memchr;

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

#[cfg(all(feature = "std", target_endian = "big"))]
#[test]
fn byte_order() {
    eprintln!("BIG ENDIAN");
}