• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // On Mustang, origin is in control of program startup and can access the
2 // incoming aux values on the stack.
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(target_vendor = "mustang", path = "mustang_auxv.rs")]
8 #[cfg_attr(
9     all(not(target_vendor = "mustang"), feature = "use-libc-auxv"),
10     path = "libc_auxv.rs"
11 )]
12 pub(crate) mod auxv;
13