We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a081007 commit 5f2073fCopy full SHA for 5f2073f
compiler/rustc_codegen_cranelift/build_system/main.rs
@@ -134,8 +134,7 @@ fn main() {
134
}
135
136
137
- let current_dir = std::env::current_dir().unwrap();
138
- out_dir = current_dir.join(out_dir);
+ out_dir = rustc_fs_util::try_canonicalize(out_dir).unwrap();
139
140
if command == Command::Prepare {
141
prepare::prepare(&path::Dirs {
0 commit comments