1 | // With "use-explicitly-provided-auxv" enabled, we expect to be initialized |
---|---|
2 | // with an explicit `rustix::param::init` call. |
3 | // |
4 | // With "use-libc-auxv" enabled, use libc's `getauxval`. |
5 | // |
6 | // Otherwise, we read aux values from /proc/self/auxv. |
7 | #[cfg_attr(feature = "use-explicitly-provided-auxv", path = "init.rs")] |
8 | #[cfg_attr( |
9 | all( |
10 | not(feature = "use-explicitly-provided-auxv"), |
11 | feature = "use-libc-auxv" |
12 | ), |
13 | path = "libc_auxv.rs" |
14 | )] |
15 | pub(crate) mod auxv; |
16 |