Crate tectonic_cfg_support
source · [−]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
Test for characteristics of the target machine.
Structs
Information about the compilation target.