Skip to content

Commit 88198c7

Browse files
committed
Sync from rust bf9a1c8
2 parents cc5db2c + fea943d commit 88198c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_system/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ enum CodegenBackend {
5555
}
5656

5757
fn main() {
58-
if env::var("RUST_BACKTRACE").is_err() {
58+
if env::var_os("RUST_BACKTRACE").is_none() {
5959
env::set_var("RUST_BACKTRACE", "1");
6060
}
6161
env::set_var("CG_CLIF_DISABLE_INCR_CACHE", "1");

0 commit comments

Comments
 (0)