diff options
Diffstat (limited to 'vendor/rustix/src/param')
-rw-r--r-- | vendor/rustix/src/param/init.rs | 4 | ||||
-rw-r--r-- | vendor/rustix/src/param/mod.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vendor/rustix/src/param/init.rs b/vendor/rustix/src/param/init.rs index d261fabd2..09d7c96bd 100644 --- a/vendor/rustix/src/param/init.rs +++ b/vendor/rustix/src/param/init.rs @@ -2,8 +2,8 @@ //! //! # Safety //! -//! On mustang, or on any non-glibc non-musl platform, the `init` function must -//! be called before any other function in this module. It is unsafe because it +//! When "use-explicitly-provided-auxv" is enabled, the `init` function must be +//! called before any other function in this module. It is unsafe because it //! operates on raw pointers. #![allow(unsafe_code)] diff --git a/vendor/rustix/src/param/mod.rs b/vendor/rustix/src/param/mod.rs index dde09772a..905eae7e3 100644 --- a/vendor/rustix/src/param/mod.rs +++ b/vendor/rustix/src/param/mod.rs @@ -6,9 +6,9 @@ //! between different processes on the same system. mod auxv; -#[cfg(target_vendor = "mustang")] +#[cfg(feature = "use-explicitly-provided-auxv")] mod init; pub use auxv::*; -#[cfg(target_vendor = "mustang")] +#[cfg(feature = "use-explicitly-provided-auxv")] pub use init::init; |