diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-11-25 11:30:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 05:30:14 -0500 |
commit | a08d2eee2b4adf0cdf6d9c8a475beff6ee1df29b (patch) | |
tree | 40bea60c844636782a2364af632243e16d8db834 /cli/build.rs | |
parent | 8d12653738066facfc228b1d0d9e31b76c6d9de0 (diff) |
add canary versioning (#8480)
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs index 48d9d378e..76cfedd8b 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -257,6 +257,10 @@ fn main() { println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap()); println!("cargo:rustc-env=PROFILE={}", env::var("PROFILE").unwrap()); + println!( + "cargo:rustc-env=DENO_CANARY={}", + env::var("DENO_CANARY").unwrap_or_default() + ); let c = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap()); let o = PathBuf::from(env::var_os("OUT_DIR").unwrap()); |