Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Jan 20, 2025

Can be detected with defined(__wasi__) && !defined(_REENTRANT)

Fixes kkebo#145

Can be detected with `defined(__wasi__) && !defined(_REENTRANT)`
Copy link
Contributor

@kkebo kkebo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All tests have passed on kkebo/swift-syntax and kkebo/swift-format CI, and I confirmed that swift-format.wasm worked well on Wasm runtimes (wasmtime and a-Shell).

LGTM. Thank you very much for your help.

wasm32-unknown-wasi

wasm32-unknown-wasip1-threads

@rintaro
Copy link
Member Author

rintaro commented Jan 20, 2025

@swift-ci Please test

@rintaro rintaro enabled auto-merge January 20, 2025 21:42
@rintaro
Copy link
Member Author

rintaro commented Jan 20, 2025

@swift-ci Please test macOS

@rintaro rintaro merged commit 5e3ca66 into swiftlang:main Jan 21, 2025
3 checks passed
@rintaro rintaro deleted the wasi-nothread branch January 21, 2025 02:33
MaxDesiatov pushed a commit that referenced this pull request Aug 28, 2025
This helps us to prevent regressions like #2944.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't build

3 participants