Crates.io | build-context |
lib.rs | build-context |
version | 0.1.3 |
source | src |
created_at | 2023-05-01 14:52:24.535894 |
updated_at | 2024-09-13 14:28:47.437654 |
description | Make build environment/target information available as constants in normal libraries and binaries. |
homepage | |
repository | https://github.com/taiki-e/build-context |
max_upload_size | |
id | 853448 |
size | 25,032 |
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
.
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.