-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
run bare rust CLI binary, no node #57
Conversation
4f82a94
to
79e7c8f
Compare
Okay this has been hard and I haven't found much focus time for it. As far as I know, swc-project/swc#5171 was the last bug preventing Bazel from using the pure-rust CLI. We will have some rules_swc API changes:
|
6813d28
to
a80ec0f
Compare
Update: it's still necessary to provide a fake tty to make the swcx binary accept a folder, now trying to make a This keeps getting stuck because it's a side-project for me. We need some sponsorship for this work. Filed #88 so that the PR has an associated issue. |
I'm working on this |
Fixed an upstream bug, see #88 |
awesome, LMK if you'd like some help getting this rebased or anything |
Yes, I already made a rebase in https://github.com/realtimetodie/rules_swc/tree/swc_rust and got
realtimetodie@ac516ac#diff-1444361579758fc6be4458b5105b2ee3ee623d72154094c3fa1fd9056845903eR154 Test summary
merry christmas |
Fixed an upstream bug, see #88 |
The tests are now passing 🎉 |
hey @realtimetodie this is fantastic, I'm watching those upstream PRs. |
Yes, the swc team is very responsive. The changes for symbolic links were merged upstream. |
As this is a breaking change, I used the opportunity to do some house cleaning (please bear with me). Checklist
Breaking changes will be documented in the final PR. Blocked by swc-project/swc#6714 |
@realtimetodie SWC just cut a release that includes your last fix, so I think it's time to merge this! |
The solution to obtain the bazel runfiles directory as an environment variable is very elegant, I like it |
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.
💚
we need it just for provider symbols
matches the rename of swc_compile rule
This doesn't actually seem to work, if I drop the |
BREAKING CHANGES:
swc_compile
matching the command we runswc compile ...