-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Plugin panics on release builds #7429
Comments
https://swc.rs/docs/plugin/selecting-swc-core |
@arlyon try disabling lto? wasmerio/wasmer#3764 (comment) |
That did it, TY! Linking the docs PR for posterity swc-project/website#220 |
Cool, let's close as resolved for now. |
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 bug
Hi!
I have been working to upgrade
stailwc
to a newer version of next but have been running into issues. I am onswc_core@0.76.9
, testing against@swc/core@1.3.59
and againstnext@13.4.3
.I can run my plugin in debug mode no problem, however release mode causes panics. I have a repro branch here, simply build the plugin in debug and release modes and then have a look at examples/swc (updating the wasm path as appropriate in install.js).
Input code
Config
N/A
Playground link
N/A
Expected behavior
I expect release builds to also pass.
Actual behavior
Panic.
Version
swc_core@0.76.9
,@swc/core@1.3.59
,next@13.4.3
Additional context
No response
The text was updated successfully, but these errors were encountered: