summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/backend/linux_raw/param/mod.rs
blob: 956282074b2e697ea436bd7e709ec8e692597660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// On Mustang, origin is in control of program startup and can access the
// incoming aux values on the stack.
//
// With "use-libc-auxv" enabled, use libc's `getauxval`.
//
// Otherwise, we read aux values from /proc/self/auxv.
#[cfg_attr(target_vendor = "mustang", path = "mustang_auxv.rs")]
#[cfg_attr(
    all(not(target_vendor = "mustang"), feature = "use-libc-auxv"),
    path = "libc_auxv.rs"
)]
pub(crate) mod auxv;