mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 17:19:06 -05:00
fix: don't unconditionally build canary (#8536)
This commit is contained in:
parent
1ed37b7751
commit
47a16d2118
1 changed files with 3 additions and 4 deletions
|
@ -257,10 +257,9 @@ 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()
|
||||
);
|
||||
if let Ok(c) = env::var("DENO_CANARY") {
|
||||
println!("cargo:rustc-env=DENO_CANARY={}", c);
|
||||
}
|
||||
|
||||
let c = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
|
||||
let o = PathBuf::from(env::var_os("OUT_DIR").unwrap());
|
||||
|
|
Loading…
Reference in a new issue