Skip to content

Commit a7d8a0a

Browse files
authored
chore(plugin/runner): Remove unused feature and dependency (#10764)
**Description:** It seems `virtual-fs` is never used and `wasmer/wat` is not needed for swc_plugin_runner, so remove it
1 parent 12e3180 commit a7d8a0a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.changeset/dull-mugs-hope.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
ast_node: patch
3+
swc_core: patch
4+
swc_plugin_runner: patch
5+
---
6+
7+
chore: remove unused feature and dependency

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/swc_plugin_runner/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ plugin_transform_host_js = [
2020
"wasmer-compiler-cranelift/wasm",
2121
]
2222
plugin_transform_host_native = [
23-
"wasmer/default",
23+
"wasmer/cranelift",
24+
"wasmer/sys",
2425
"wasmer-wasix/sys",
2526
"wasmer-wasix/logging",
2627
"wasmer-wasix/host-fs",
@@ -60,7 +61,6 @@ serde = { workspace = true, features = ["derive"] }
6061
serde_json = { workspace = true }
6162
tokio = { workspace = true, optional = true }
6263
tracing = { workspace = true }
63-
virtual-fs = { workspace = true }
6464
wasmer = { workspace = true }
6565
wasmer-wasix = { workspace = true }
6666

0 commit comments

Comments
 (0)