4 releases
0.1.3 | Sep 13, 2024 |
---|---|
0.1.2 | Apr 13, 2024 |
0.1.1 | May 5, 2023 |
0.1.0 | May 1, 2023 |
#24 in No standard library
15,512 downloads per month
Used in 6 crates
13KB
72 lines
build-context
Make build environment/target information available as constants in normal libraries and binaries.
This is intended primarily for use in tests and its helpers. When used in libraries or binaries, be careful not to depend on constants that depend on the host environment.
Some constants duplicate those provided in std::env::consts
.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.