You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use a wrapper struct contains ptr to the actual data to pass over data between plugin host to the plugin.
This is due to compiled wasm binary didn't support returning multi-value; i.e we could do simplifed way instead
fn some_fn() -> (ptr, len);
and receiver directly deserialize it if it was possible. We once enabled this with custom-patch, but that was too cumbersome to ask to all of the plugin authors.
It looks like recent compiler started to support it, so we may able to try this again.
However this is somewhat large breaking changes to the plugins
interface change requires to bump up swc_core
All of the plugin requires to compile with specific flag (--multi-value).
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the feature
Currently, we use a wrapper struct contains ptr to the actual data to pass over data between plugin host to the plugin.
This is due to compiled wasm binary didn't support returning multi-value; i.e we could do simplifed way instead
and receiver directly deserialize it if it was possible. We once enabled this with custom-patch, but that was too cumbersome to ask to all of the plugin authors.
It looks like recent compiler started to support it, so we may able to try this again.
However this is somewhat large breaking changes to the plugins
Babel plugin or link to the feature description
No response
Additional context
rust-lang/rust#73755 (comment)
The text was updated successfully, but these errors were encountered: