build-context 0.1.3

Make build environment/target information available as constants in normal libraries and binaries.
Documentation
  • Coverage
  • 100%
    18 out of 18 items documented0 out of 0 items with examples
  • Size
  • Source code size: 24.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 87.3 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • taiki-e/build-context
    3 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • taiki-e

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.