summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/tests/mm/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/tests/mm/main.rs')
-rw-r--r--vendor/rustix/tests/mm/main.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/rustix/tests/mm/main.rs b/vendor/rustix/tests/mm/main.rs
new file mode 100644
index 000000000..ee746d900
--- /dev/null
+++ b/vendor/rustix/tests/mm/main.rs
@@ -0,0 +1,13 @@
+//! Tests for [`rustix::mm`].
+
+#![cfg(feature = "mm")]
+#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
+#![cfg_attr(io_lifetimes_use_std, feature(io_safety))]
+
+#[cfg(not(windows))]
+#[cfg(not(target_os = "wasi"))]
+mod mlock;
+#[cfg(not(windows))]
+mod mmap;
+#[cfg(not(windows))]
+mod prot;