Commit Graph

8 Commits

Author SHA1 Message Date
Donny/강동윤
6e5d8b3cf1
feat(es/codegen): Support preamble (#7551)
**Related issue:**

 - Closes #7475.
2023-06-20 14:35:46 +09:00
OJ Kwon
56bdacc72d
feat(plugin/runner): Update wasmer to v3 (#7197)
**Description:**

This PR reattempts https://github.com/swc-project/swc/pull/5456.

Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.

There are a couple of changes worth noting:

- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
2023-04-10 03:40:25 +00:00
OJ Kwon
dd4b9e87de
refactor(bindings): Deprecate jsvalue::*_serde (#6462) 2022-11-18 10:21:23 +09:00
Donny/강동윤
948e35bcd6
fix(bindings): Revert #6436 (#6444) 2022-11-15 13:50:53 +09:00
OJ Kwon
1dd8b3d9d5
refactor(bindings): Deprecate JsValue::*_serde (#6436) 2022-11-14 23:46:13 +00:00
Fy
1024a552cf
refactor(es): Accept custom instance of Comments (#6290) 2022-10-29 07:29:37 +00:00
OJ Kwon
f43461d645
refactor(binding/macros): Update import references (#5431) 2022-08-10 05:16:49 +00:00
OJ Kwon
5348195996
feat(swc_core): Add macros for wasm bindings (#5430) 2022-08-10 03:10:19 +00:00