Expand description
This support crate helps deal with CARGO_CFG_TARGET_* variables. When
cross-compiling with a build.rs script, these variables must be used
instead of constructs such as cfg!(target_arch = ...) because the
build.rs compilation targets the build host architecture, not the final
target architecture.
For more information, see the documentation on:
Macros§
- target_
cfg - Test for characteristics of the target machine.
Structs§
- TARGET_
CONFIG - Target
Configuration - Information about the compilation target.