We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a206121 commit 7a5e773Copy full SHA for 7a5e773
compiler/rustc_metadata/src/fs.rs
@@ -64,7 +64,7 @@ pub fn encode_and_write_metadata(
64
// which is why we create it inside the output directory specifically.
65
let metadata_tmpdir = TempFileBuilder::new()
66
.prefix("rmeta")
67
- .tempdir_in(out_filename.parent().unwrap_or_else(|| Path::new("tmp")))
+ .tempdir_in(out_filename.parent().unwrap_or_else(|| Path::new("")))
68
.unwrap_or_else(|err| tcx.sess.fatal(&format!("couldn't create a temp dir: {}", err)));
69
let metadata_tmpdir = MaybeTempDir::new(metadata_tmpdir, tcx.sess.opts.cg.save_temps);
70
let metadata_filename = metadata_tmpdir.as_ref().join(METADATA_FILENAME);
0 commit comments