-
-
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
refactor: Fix lints using clippy from nightly-2023-03-13
#6920
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- dbg-swc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
cc @kwonoj I think we find the condition for the UB |
HUH, so old version of nightly was the reason? |
Not sure, but seems like one of two nightly versions are problem. |
sounds quite scary, few random thinking
|
Yes, single use is enough to break the plugin.
Yes, that's why I added tests which invoke noop plugin with all AST we can parse, although it's not caught by it at this time. swc/crates/swc_plugin_runner/tests/ecma_rkyv.rs Lines 65 to 66 in 29fee38
It's a bug of |
Given wasmer itself uses rkyv as underlying serialization mechanism, I guess this'll require to take out wasmer entirely. Not impossible to do, but may need some considerations. |
Forgot to mention, it looks like this occurred with serialization / deserialization of |
We can use other serialization/deserialization for
This is the clue, though. |
I'd like to consider replacing serialization as a last resort, attempt to try fix to see if it works or not. |
Same here 👍 |
I think |
689412e
to
f5f35e4
Compare
nightly-2023-03-13
nightly-2023-03-13
Description:
We may need to bump
rkyv
.(#6807 (comment))
Related issue (if exists):