#tex #cfg #tex-engine #tex-typesetting #typesetting #texlive #xetex #support

tectonic_cfg_support

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

8 releases

0.1.4 Feb 28, 2022
0.1.3 Jun 4, 2021
0.1.2 Jan 16, 2021
0.1.1 Oct 21, 2020
0.0.1 Dec 6, 2019

#174 in Text processing

Download history 429/week @ 2022-12-07 252/week @ 2022-12-14 224/week @ 2022-12-21 175/week @ 2022-12-28 206/week @ 2023-01-04 276/week @ 2023-01-11 329/week @ 2023-01-18 312/week @ 2023-01-25 482/week @ 2023-02-01 277/week @ 2023-02-08 348/week @ 2023-02-15 396/week @ 2023-02-22 338/week @ 2023-03-01 338/week @ 2023-03-08 326/week @ 2023-03-15 191/week @ 2023-03-22

1,294 downloads per month
Used in 19 crates (3 directly)

MIT license

16KB
216 lines

The tectonic_cfg_support crate

This 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.


lib.rs:

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:

Dependencies

~10KB