summaryrefslogtreecommitdiffstats
path: root/vendor/memchr/src/tests/mod.rs
blob: f4d406cd1e16e8800a14aa3636066ffb8bfcc5d3 (plain)
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");
}