Debian Codegraph @

.cargo/vendor/memchr/src/tests/mod.rs

raw
1 #[macro_use]
2 pub(crate) mod memchr;
3 pub(crate) mod packedpair;
4 #[macro_use]
5 pub(crate) mod substring;
6
7 // For debugging, particularly in CI, print out the byte order of the current
8 // target.
9 #[test]
10 fn byte_order() {
11 #[cfg(target_endian = "little")]
12 std::eprintln!("LITTLE ENDIAN");
13 #[cfg(target_endian = "big")]
14 std::eprintln!("BIG ENDIAN");
15 }