Module target

Source
Expand description

Target cfg attributes. Documented in the “Conditional compilation” section of the Rust reference:

https://doc.rust-lang.org/reference/attributes.html#conditional-compilation

Enums§

Arch
target_arch: Target CPU architecture
Endian
target_endian: Endianness of the target.
Env
target_env: target environment that disambiguates the target platform by ABI / libc.
OS
target_os: Operating system of the target.
PointerWidth
target_pointer_width: Size of native pointer types (usize, isize) in bits