Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(swc/plugin): replace wasm runtime #3196

Merged
merged 2 commits into from
Jan 5, 2022

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Jan 5, 2022

Description:
We started plugin implememtation with wasmer as runtime, but looks like it doesn't support all of the platforms swc currently targets.

PR attempts to replace runtime to wasmtime to see if it can be used for those platforms. This PR attempts to verify target support only, so replacement to wasmtime actually doesn't contain correct code to utilize plugins. It should followup after we confirm target support.

BREAKING CHANGE:

Related issue (if exists):

wasmerio/wasmer#2324

nightly-2021-12-15
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to bytecodealliance/rustix#142 ; once wasmtime bumps up its dependencies we can revert this.

@kdy1 kdy1 modified the milestones: v1.2.128, v1.2.127 Jan 5, 2022
Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kdy1 kdy1 enabled auto-merge (squash) January 5, 2022 04:32
@kdy1 kdy1 merged commit c3895ca into swc-project:main Jan 5, 2022
@kwonoj kwonoj deleted the replace-wasm-runtime branch January 15, 2022 06:35
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants