Skip to content

Commit fea943d

Browse files
committed
Auto merge of #116487 - tamird:avoid-unwrap-absolute, r=bjorn3
compiler: env/path handling fixes Please see individual commits. r? `@bjorn3` cf. #116426
2 parents c9f6ac4 + 2753052 commit fea943d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)