Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ jobs:
- name: Run cargo test (transforms with stacker)
if: matrix.settings.crate == 'swc_ecma_transforms'
run: |
cargo test -p ${{ matrix.settings.crate }} --all-features --features swc_ecma_utils/stacker
cargo test -p ${{ matrix.settings.crate }} --all-features --features swc_common/stacker

- name: Run cargo test (concurrent)
if: runner.os == 'Linux' && matrix.settings.crate != 'swc_ecma_minifier'
Expand Down
4 changes: 1 addition & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/swc_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ swc_atoms = { version = "5.0.0", path = "../swc_atoms" }
swc_eq_ignore_macros = { version = "1.0.0", path = "../swc_eq_ignore_macros" }
swc_visit = { version = "2.0.0", path = "../swc_visit" }

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies]
stacker = { version = "0.1.15", optional = true }

[dev-dependencies]
codspeed-criterion-compat = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/swc_common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub mod private;
mod rustc_data_structures;
pub mod serializer;
pub mod source_map;
pub mod stack_size;
pub mod sync;
mod syntax_pos;
pub mod util;
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ ecma_plugin_transform = [
]

# Use `stacker` to avoid stack overflow.
stacker = ["swc_ecma_parser/stacker", "swc_ecma_utils/stacker"]
stacker = ["swc_ecma_parser/stacker", "swc_common/stacker"]


typescript = ["swc_typescript"]
Expand Down
Loading
Loading