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 03de5c4 commit ec64b4cCopy full SHA for ec64b4c
compiler/rustc_metadata/src/rmeta/encoder.rs
@@ -2144,6 +2144,7 @@ fn prefetch_mir(tcx: TyCtxt<'_>) {
2144
// generated regardless of trailing bytes that end up in it.
2145
2146
pub struct EncodedMetadata {
2147
+ // The declaration order matters because `mmap` should be dropped before `_temp_dir`.
2148
mmap: Option<Mmap>,
2149
// We need to carry MaybeTempDir to avoid deleting the temporary
2150
// directory while accessing the Mmap.
0 commit comments