Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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: 2 additions & 0 deletions .changeset/salty-ears-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions packages/swc-plugin-workflow/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
# Alias to build actual plugin binary for the specified target.
build-wasip1 = "build --target wasm32-wasip1"
build-wasm32 = "build --target wasm32-unknown-unknown"

[target.wasm32-unknown-unknown]
# SWC supplies these imports when it loads the plugin. Some rust-lld builds
# reject them by default, notably on Windows CI, unless we allow host imports.
rustflags = ["-C", "link-arg=--allow-undefined"]
Loading