xref: /third_party/rust/crates/memchr/src/tests/mod.rs (revision fb6c1f39)
1mod memchr;
2
3// For debugging, particularly in CI, print out the byte order of the current
4// target.
5#[cfg(all(feature = "std", target_endian = "little"))]
6#[test]
7fn byte_order() {
8    eprintln!("LITTLE ENDIAN");
9}
10
11#[cfg(all(feature = "std", target_endian = "big"))]
12#[test]
13fn byte_order() {
14    eprintln!("BIG ENDIAN");
15}
16