build-context

Crates.iobuild-context
lib.rsbuild-context
version0.1.2
sourcesrc
created_at2023-05-01 14:52:24.535894
updated_at2024-04-13 14:28:49.161632
descriptionMake build environment/target information available as constants in normal libraries and binaries.
homepage
repositoryhttps://github.com/taiki-e/build-context
max_upload_size
id853448
size22,598
Taiki Endo (taiki-e)

documentation

README

build-context

crates.io docs.rs license rust version github actions

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.

Commit count: 62

cargo fmt