Unverified Commit 1d11db3c authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

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)
parent 48e53d7d
use anyhow::Result; use anyhow::Result;
use rustc_hash::FxHashSet;
use tracing::Instrument; use tracing::Instrument;
use turbo_tasks::{ use turbo_tasks::{
ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc, FxIndexSet, ResolvedVc, TryFlatJoinIterExt, ValueToString, Vc,
graph::{AdjacencyMap, GraphTraversal}, graph::{AdjacencyMap, GraphTraversal},
}; };
use turbo_tasks_fs::{FileSystemPath, rebase}; use turbo_tasks_fs::{FileSystemPath, rebase};
...@@ -113,7 +112,7 @@ pub async fn all_assets_from_entries(entries: Vc<OutputAssets>) -> Result<Vc<Out ...@@ -113,7 +112,7 @@ pub async fn all_assets_from_entries(entries: Vc<OutputAssets>) -> Result<Vc<Out
.completed()? .completed()?
.into_inner() .into_inner()
.into_postorder_topological() .into_postorder_topological()
.collect::<FxHashSet<_>>() .collect::<FxIndexSet<_>>()
.into_iter() .into_iter()
.collect(), .collect(),
)) ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment