Auto merge of #116487 - tamird:avoid-unwrap-absolute, r=bjorn3

compiler: env/path handling fixes

Please see individual commits. r? `@bjorn3` cf. #116426
This commit is contained in:
bors 2023-10-08 05:24:16 +00:00
commit fea943debf

View File

@ -55,7 +55,7 @@ enum CodegenBackend {
}
fn main() {
if env::var("RUST_BACKTRACE").is_err() {
if env::var_os("RUST_BACKTRACE").is_none() {
env::set_var("RUST_BACKTRACE", "1");
}
env::set_var("CG_CLIF_DISABLE_INCR_CACHE", "1");