Skip to content

Commit 0c63bda

Browse files
authored
refactor: Extract par-core and par-iter (#10269)
**Description:** I'm not going to touch these crates frequently, so to reduce CI resource usage, I extracted them with dudykr/ddbase#69
1 parent 78e37a1 commit 0c63bda

File tree

138 files changed

+551
-28858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+551
-28858
lines changed

.changeset/serious-pumpkins-greet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
swc_ecma_utils: major
3+
---
4+
5+
refactor: Extract `par-core` and `par-iter`

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ jobs:
301301
- name: Run cargo test (swc_ecma_minifier)
302302
if: matrix.settings.crate == 'swc_ecma_minifier'
303303
run: |
304-
cargo test -p swc_ecma_minifier --features concurrent --features swc_parallel/chili
304+
cargo test -p swc_ecma_minifier --features concurrent --features par-core/chili
305305
306306
- name: Run cargo test (swc_ecma_parser)
307307
if: matrix.settings.crate == 'swc_ecma_parser'

Cargo.lock

Lines changed: 38 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ resolver = "2"
130130
wasmer = { version = "=5.0.5-rc1", default-features = false }
131131
wasmer-wasix = { version = "0.35.0", default-features = false }
132132
wide = "0.7.32"
133+
par-core = { version = "1", default-features = false }
134+
par-iter = "1"
133135

134136
[profile.release]
135137
lto = true

bindings/Cargo.lock

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)