add canary versioning (#8480)

This commit is contained in:
crowlKats 2020-11-25 11:30:14 +01:00 committed by GitHub
parent 8d12653738
commit a08d2eee2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 22 deletions

View file

@ -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());