-
Notifications
You must be signed in to change notification settings - Fork 0
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
Can't build #145
Comments
Does this mean If the target is not a multi-thread environment, feel free to add something like #elif <CONDITION>
PlatformMutex swiftsyntax_platform_mutex_create() {
PlatformMutex m;
m.opaque = 0;
return m;
}
void swiftsyntax_platform_mutex_lock(PlatformMutex m) {}
void swiftsyntax_platform_mutex_unlock(PlatformMutex m) {}
void swiftsyntax_platform_mutex_destroy(PlatformMutex m) {} (before Since I personally don't know the preprocessor macro for WASI, contribution is appreciated. |
Oooh, I thought here is swiftlang/swift-syntax sorry for the noise 😅 |
@rintaro Thank you for your comment and suggestion. Yes, The description of the following PR is helpful. I'll try to contribute, but I may be busy for a month or so and may not get around to it. |
I could have created an issue in swiftlang/swift-syntax, but I wasn't sure if they had officially supported WASI or not, so I created an issue here for now. |
Sounds good. Here is the PR swiftlang#2944 |
Thank you so much! kkebo/swift-syntax's tests have passed. I'll trigger kkebo/swift-format's tests later too. |
kkebo/swift-format
|
Description
swiftlang#2925 broke WASI build.
The latest implementation is swiftlang#2934.
Steps to Reproduce
https://github.com/kkebo/swift-syntax/actions/runs/12723180378/job/35468017064
The text was updated successfully, but these errors were encountered: