Sha256: 92d2cb7e8e27b8e6bf2e18e29137aa249935f9ae97ee48aa30fcbb1acd0f4b6e

Contents?: true

Size: 701 Bytes

Versions: 7

Compression:

Stored size: 701 Bytes

Contents

//! Memory map operations.

#[cfg(not(target_os = "redox"))]
mod madvise;
mod mmap;
mod msync;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod userfaultfd;

#[cfg(not(target_os = "redox"))]
pub use madvise::{madvise, Advice};
pub use mmap::{
    mlock, mmap, mmap_anonymous, mprotect, munlock, munmap, MapFlags, MprotectFlags, ProtFlags,
};
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use mmap::{mlock_with, MlockFlags};
#[cfg(any(linux_raw, all(libc, target_os = "linux")))]
pub use mmap::{mremap, mremap_fixed, MremapFlags};
pub use msync::{msync, MsyncFlags};
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use userfaultfd::{userfaultfd, UserfaultfdFlags};

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wasmtime-8.0.0 ./ext/cargo-vendor/rustix-0.36.12/src/mm/mod.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.36.11/src/mm/mod.rs
wasmtime-6.0.1 ./ext/cargo-vendor/rustix-0.36.8/src/mm/mod.rs
wasmtime-6.0.0 ./ext/cargo-vendor/rustix-0.36.8/src/mm/mod.rs
wasmtime-5.0.0 ./ext/cargo-vendor/rustix-0.36.7/src/mm/mod.rs
wasmtime-0.4.1 ./ext/cargo-vendor/rustix-0.36.5/src/mm/mod.rs
wasmtime-0.4.0 ./ext/cargo-vendor/rustix-0.36.5/src/mm/mod.rs