Skip to content

Commit 1d11db3

Browse files
authored
Turbopack: more deterministic manifest order (#79977)
Fix non-deterministic next font manifest order: ![Bildschirmfoto 2025-05-30 um 15.41.12.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sjZSbv6AFeuDg7Gb9rma/e2de4601-a90e-41db-ac4c-7fde7ffec146.png)
1 parent 48e53d7 commit 1d11db3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/next-core/src/emit.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
use anyhow::Result;
2-
use rustc_hash::FxHashSet;
32
use tracing::Instrument;
43
use turbo_tasks::{
5-
ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc,
4+
FxIndexSet, ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc,
65
graph::{AdjacencyMap, GraphTraversal},
76
};
87
use turbo_tasks_fs::{FileSystemPath, rebase};
@@ -113,7 +112,7 @@ pub async fn all_assets_from_entries(entries: Vc<OutputAssets>) -> Result<Vc<Out
113112
.completed()?
114113
.into_inner()
115114
.into_postorder_topological()
116-
.collect::<FxHashSet<_>>()
115+
.collect::<FxIndexSet<_>>()
117116
.into_iter()
118117
.collect(),
119118
))

0 commit comments

Comments
 (0)