logo
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

target_arch: Target CPU architecture

target_endian: Endianness of the target.

target_env: target enviroment that disambiguates the target platform by ABI / libc.

target_os: Operating system of the target.

target_pointer_width: Size of native pointer types (usize, isize) in bits