-
-
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
Could not compile custom plugins with a stable rust #7149
Comments
If it's intended, I think it should be written in Plugin doc page. Because as far as i remember not every nightly and even not every stable version of Rust would work because of the issue |
It's not intended, we don't maintain errno-0.2.8 |
According
|
Oh, wait, you build You can do like https://github.com/swc-project/plugins/blob/bb8f9a4b30a7130f50582f681db858ff98df921f/packages/emotion/transform/Cargo.toml#L33-L37 to avoid building the fixture testing system into the final Wasm file and avoid building testing crates for Wasm |
Well, it builds with stable rust but for development / testing still need to use nightly, which is I thinking is not good. Also, this configuration was generated by SWC CLI, maybe it should be updated (if not already) to split prod / dev deps? |
I'll update the plugin template |
Oh plugin template was correct |
I think this could be closed. |
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
Tried to build a plugin with swc_core@0.69.x and get
However, compiles with
nightly-2022-09-23
Input code
No response
Config
No response
Playground link
No response
Expected behavior
Compiles with stable rust
Actual behavior
No response
Version
0.69
Additional context
No response
The text was updated successfully, but these errors were encountered: