From 9002209a14b83361c36e6ce34414ed7613aa15b9 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Mon, 24 Jul 2023 19:30:32 +0300 Subject: [PATCH] linker/test: avoid using `std::env` entirely. --- crates/rustc_codegen_spirv/src/linker/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rustc_codegen_spirv/src/linker/test.rs b/crates/rustc_codegen_spirv/src/linker/test.rs index 4ae6f2ba40..849951db31 100644 --- a/crates/rustc_codegen_spirv/src/linker/test.rs +++ b/crates/rustc_codegen_spirv/src/linker/test.rs @@ -154,7 +154,7 @@ fn link_with_linker_opts( modules, opts, &OutputFilenames::new( - std::env::current_dir().unwrap_or_default(), + "".into(), "".into(), None, None,