Crates.io | tectonic_cfg_support |
lib.rs | tectonic_cfg_support |
version | 0.1.4 |
source | src |
created_at | 2019-12-06 16:40:57.419361 |
updated_at | 2022-02-28 16:03:05.153455 |
description | A build.rs support crate that helps deal with CARGO_CFG_TARGET_* variables. When cross-compiling, these variables must be used instead of constructs such as `cfg!(target_arch = ...)` because the build.rs script is compiled to target the build host environment, not the true target environment. |
homepage | https://tectonic-typesetting.github.io/ |
repository | https://github.com/tectonic-typesetting/tectonic/ |
max_upload_size | |
id | 186884 |
size | 17,841 |
tectonic_cfg_support
crateThis crate helps build.rs
files deal with CARGO_CFG_TARGET_*
variables. When
cross-compiling, these variables must be used instead of constructs such as
cfg!(target_arch = ...)
because the build.rs
script is compiled to target
the build host environment, not the true target environment. This crate is part
of the Tectonic project.