summaryrefslogtreecommitdiff
path: root/vendor/memchr/src/tests/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/memchr/src/tests/mod.rs')
-rw-r--r--vendor/memchr/src/tests/mod.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/memchr/src/tests/mod.rs b/vendor/memchr/src/tests/mod.rs
new file mode 100644
index 0000000..259b678
--- /dev/null
+++ b/vendor/memchr/src/tests/mod.rs
@@ -0,0 +1,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");
+}