Sha256: d97b3657e828a40553677469887b1efab0544812ca592ef359a2d4230a0dd621

Contents?: true

Size: 984 Bytes

Versions: 8

Compression:

Stored size: 984 Bytes

Contents

//! Declare functions defined in out-of-line ("outline") asm files.
//!
//! Kernel calling conventions differ from userspace calling conventions,
//! so we also define inline function wrappers which reorder the arguments
//! so that they match with the kernel convention as closely as possible,
//! to minimize the amount of out-of-line code we need.

#[cfg(target_arch = "x86")]
mod x86;
// For these architectures, pass the `nr` argument last.
#[cfg(any(
    target_arch = "arm",
    target_arch = "aarch64",
    target_arch = "mips",
    target_arch = "mips64",
    target_arch = "powerpc64",
    target_arch = "riscv64",
    target_arch = "x86_64",
))]
mod nr_last;

#[cfg(any(
    target_arch = "arm",
    target_arch = "aarch64",
    target_arch = "mips",
    target_arch = "mips64",
    target_arch = "powerpc64",
    target_arch = "riscv64",
    target_arch = "x86_64",
))]
pub(in crate::backend) use nr_last::*;
#[cfg(target_arch = "x86")]
pub(in crate::backend) use x86::*;

Version data entries

8 entries across 7 versions & 1 rubygems

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