diff options
| author | Andrew Xie <ndrew.xie@gmail.com> | 2023-05-07 20:15:47 -0400 |
|---|---|---|
| committer | Andrew Xie <ndrew.xie@gmail.com> | 2023-06-04 21:55:31 -0400 |
| commit | cf7dea571695be5db843519db014785c4a0a2786 (patch) | |
| tree | d8d7a1871e0ba6e1c5bd7bb62731f54466b46bf8 | |
| parent | 1be19f710c983258282796a111354528908451c5 (diff) | |
| download | rust-cf7dea571695be5db843519db014785c4a0a2786.tar.gz rust-cf7dea571695be5db843519db014785c4a0a2786.zip | |
Sorted a FxIndexSet for consistent iteration order
| -rw-r--r-- | compiler/rustc_incremental/src/persist/fs.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_incremental/src/persist/fs.rs b/compiler/rustc_incremental/src/persist/fs.rs index b44fb37fd7a..e1124554940 100644 --- a/compiler/rustc_incremental/src/persist/fs.rs +++ b/compiler/rustc_incremental/src/persist/fs.rs @@ -658,6 +658,7 @@ pub fn garbage_collect_session_directories(sess: &Session) -> io::Result<()> { // This is something we don't know, leave it alone } } + session_directories.sort(); // Now map from lock files to session directories let lock_file_to_session_dir: UnordMap<String, Option<String>> = |
