Skip to content

Commit 62541ab

Browse files
committed
test: add merge conflict fixture
1 parent 1d04823 commit 62541ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/rspack_plugin_esm_library/src

crates/rspack_plugin_esm_library/src/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ impl EsmLibraryPlugin {
627627

628628
// webpack require iterate the needed_namespace_objects and mutate `needed_namespace_objects`
629629
// at the same time, https://github.com/webpack/webpack/blob/1f99ad6367f2b8a6ef17cce0e058f7a67fb7db18/lib/optimize/ConcatenatedModule.js#L1514
630-
// Which is impossible in rust, using a fixed point algorithm to reach the same goal.
630+
// Rust cannot mutate the collection while iterating, so repeat until no new module is found.
631631
loop {
632632
let mut changed = false;
633633

0 commit comments

Comments
 (0)