-
Notifications
You must be signed in to change notification settings - Fork 253
Add Wasm builds to pull_request.yml
#1078
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
base: main
Are you sure you want to change the base?
Conversation
|
cc @kkebo |
|
To build swift-format for WASI, we need some fixes. The main blockers are:
|
Certainly happy to dust off #675 again if it makes this requirement go away. |
|
Yes, removing the Dispatch dependency would be greatly appreciated! 🙏 |
Is this required for in-place formatting? I wonder if a better near-term option is just to disable directly in-place formatting in files, and IIUC in-place formatting in memory would still be possible when |
Yes, it is.
That's one option. Or, how about using non-atomic file writing for WASI?
What does "in-place formatting in memory" mean? IIUC swift-format with in-place disabled will only print the formatting results. |
IMO that's a significant change in behavior with potential for unexpected data loss. I'd prefer that to be a new CLI flag, like
I'm referring to the |
Only the |
This ensures that builds of
swift-formatfor WASI don't regress.