Skip to content
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

[wasm] Remove too conservative guards around file operations #4893

Conversation

kateinoigakukun
Copy link
Member

Those guards were added to prevent the build from failing on WASI, but they are too conservative and the latest wasi-libc is now providing enough support for these operations.

@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

@kateinoigakukun kateinoigakukun force-pushed the pr-60e5fee97c1f1f8f2dedb269343dbb7d1c1cf9b8 branch from bafcc09 to 2524fd2 Compare March 1, 2024 09:34
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun force-pushed the pr-60e5fee97c1f1f8f2dedb269343dbb7d1c1cf9b8 branch from 2524fd2 to b6da20b Compare March 2, 2024 12:37
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@MaxDesiatov
Copy link
Member

@swift-ci test windows

Those guards were added to prevent the build from failing on WASI, but
they are too conservative and the latest wasi-libc is now providing
enough support for these operations.
@kateinoigakukun kateinoigakukun force-pushed the pr-60e5fee97c1f1f8f2dedb269343dbb7d1c1cf9b8 branch from b6da20b to 7a70a1b Compare March 6, 2024 09:17
@kateinoigakukun
Copy link
Member Author

@swift-ci test

Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

@MaxDesiatov
Copy link
Member

@swift-ci test

@MaxDesiatov
Copy link
Member

@swift-ci test windows

1 similar comment
@kateinoigakukun
Copy link
Member Author

@swift-ci test windows

@kateinoigakukun kateinoigakukun merged commit 3451ceb into apple:main Mar 7, 2024
2 of 3 checks passed
@kateinoigakukun kateinoigakukun deleted the pr-60e5fee97c1f1f8f2dedb269343dbb7d1c1cf9b8 branch March 7, 2024 13:58
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.

None yet

2 participants