build-context

Crates.iobuild-context
lib.rsbuild-context
version0.1.3
sourcesrc
created_at2023-05-01 14:52:24.535894
updated_at2024-09-13 14:28:47.437654
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
size25,032
Taiki Endo (taiki-e)

documentation

README

build-context

crates.io docs.rs license msrv 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