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