-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Stable Rust #620
Comments
Glad to hear that. :) Currently swc uses specialization heavily for visitor pattern. It can be removed, but it will be really lots of work. So only parser / codegen / ast is supported on stable rust. |
Understandable - it'll prevent us from using swc, but I'll watch for when specialization lands in stable! |
@ajacksified I'm curious, are you using swc from rust? |
I only have access to libc 2.12, so I can't use the precompiled swc in npm, and was hoping to use my own precompiled swc. I do not trust nightlies for production work, and even if I did, the rest of my team doesn't, which is a fair stance to take, IMO. |
@ajacksified I got it. It's understandable. |
@ajacksified maybe just wait for #106 that would solve it. |
Is there any news about this? |
@dancespiele swc now provides visitors which work on stable rust. |
ok great however I don't see documentation in https://crates.io/crates/swc_ecma_visit . Where can I find it? |
@dancespiele You can see it at https://docs.rs/swc_ecma_visit/0.2.0/swc_ecma_visit/ . |
@kdy1 I'm interested in your general thoughts around the use of What do you think is the way forward here for swc? Do you think there is a possibility to switch to |
@fahrradflucht Hmm... I'll switch to min-specialization if min-specialization is going to be stabilized or current specialization is going to be de-implemented. However, if not, I don't want to do it at the moment because I'm too busy. If it's really required, I can even make swc compilable with stable rustic. I don't want to do it just because It's really time-consuming and it makes organizing code much harder. |
Migrated to stable rustc |
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. |
swc looks awesome; in my tests, it compiles our app in about 1/4 the time! Do you plan on maintaining compilation with stable rust? There was an issue about a year ago (#117), but since then it seems to have broken again:
I'm on rustc 1.41.0 and stay regularly up to date.
The text was updated successfully, but these errors were encountered: