File tree Expand file tree Collapse file tree
crates/rspack_core/src/compilation/build_chunk_graph Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ pub(crate) type DependenciesBlockIdentifierMap<V> =
3333pub ( crate ) type DependenciesBlockIdentifierSet =
3434 std:: collections:: HashSet < DependenciesBlockIdentifier , BuildHasherDefault < FxHasher > > ;
3535
36- type ConnectionIdList = Arc < [ DependencyId ] > ;
36+ type ConnectionIdList = Arc < Vec < DependencyId > > ;
3737type PreparedBlockConnectionMap = Vec < PreparedBlockConnection > ;
3838type BlockConnectionMap =
3939 DependenciesBlockIdentifierMap < Arc < Vec < ( ModuleIdentifier , ConnectionState , ConnectionIdList ) > > > ;
@@ -96,7 +96,7 @@ fn finalize_prepared_connection_map(
9696 . map ( |connection| PreparedBlockConnection {
9797 block : connection. block ,
9898 module : connection. module ,
99- connections : Arc :: from ( connection. connections . into_boxed_slice ( ) ) ,
99+ connections : Arc :: new ( connection. connections ) ,
100100 } )
101101 . collect ( )
102102}
You can’t perform that action at this time.
0 commit comments