From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/rustix/tests/io/main.rs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 vendor/rustix/tests/io/main.rs (limited to 'vendor/rustix/tests/io/main.rs') diff --git a/vendor/rustix/tests/io/main.rs b/vendor/rustix/tests/io/main.rs new file mode 100644 index 000000000..bdd044809 --- /dev/null +++ b/vendor/rustix/tests/io/main.rs @@ -0,0 +1,31 @@ +//! Tests for [`rustix::io`]. + +#![cfg_attr(target_os = "wasi", feature(wasi_ext))] +#![cfg_attr(io_lifetimes_use_std, feature(io_safety))] + +#[cfg(not(feature = "rustc-dep-of-std"))] +#[cfg(not(windows))] +#[cfg(not(target_os = "wasi"))] +mod dup2_to_replace_stdio; +#[cfg(not(feature = "rustc-dep-of-std"))] // TODO +#[cfg(not(windows))] +#[cfg(feature = "net")] +#[cfg(not(target_os = "wasi"))] +mod epoll; +mod error; +#[cfg(not(windows))] +#[cfg(not(target_os = "wasi"))] +mod eventfd; +#[cfg(not(windows))] +mod from_into; +#[cfg(not(target_os = "redox"))] +mod ioctl; +mod poll; +#[cfg(all(feature = "procfs", any(target_os = "android", target_os = "linux")))] +mod procfs; +#[cfg(not(windows))] +#[cfg(not(target_os = "redox"))] // redox doesn't have cwd/openat +#[cfg(not(target_os = "wasi"))] // wasi support for S_IRUSR etc. submitted to libc in #2264 +mod read_write; +#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "android"))] +mod seals; -- cgit v1.2.3