-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "shadow-rs" | ||
version = "0.6.10" | ||
version = "0.6.11" | ||
authors = ["baoyachi <[email protected]>"] | ||
edition = "2018" | ||
description = "A build-time information stored in your rust project" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,8 @@ fn main() { | |
println!("{}", build::COMMIT_EMAIL); // commit email, e.g. '[email protected]' | ||
|
||
println!("{}", build::BUILD_OS); // the OS that built the binary, e.g. 'macos-x86_64' | ||
println!("{}", build::BUILD_TARGET); // the OS target that built the binary, e.g. 'x86_64-apple-darwin' | ||
println!("{}", build::BUILD_TARGET_ARCH); // the OS target arch that built the binary, e.g. 'x86_64' | ||
println!("{}", build::RUST_VERSION); // rustc version e.g. 'rustc 1.45.0 (5c1f21c3b 2020-07-13)' | ||
println!("{}", build::RUST_CHANNEL); // rust toolchain e.g. 'stable-x86_64-apple-darwin (default)' | ||
println!("{}", build::CARGO_VERSION); // cargo version e.g. 'cargo 1.45.0 (744bd1fbb 2020-06-15)' | ||
|
@@ -161,6 +163,8 @@ with [`clap`](https://github.com/baoyachi/shadow-rs/blob/master/example_shadow/s | |
| COMMIT_AUTHOR | baoyachi | | ||
| COMMIT_EMAIL | [email protected] | | ||
| BUILD_OS | macos-x86_64 | | ||
| BUILD_TARGET | x86_64-apple-darwin | | ||
| BUILD_TARGET_ARCH | x86_64 | | ||
| RUST_VERSION | rustc 1.45.0 (5c1f21c3b 2020-07-13) | | ||
| RUST_CHANNEL | stable-x86_64-apple-darwin (default) | | ||
| CARGO_VERSION | cargo 1.45.0 (744bd1fbb 2020-06-15) | | ||
|