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] Port FileManager for WASI platform #4898

Conversation

kateinoigakukun
Copy link
Member

This unlocks most of FileManager APIs on WASI platform. WASI lacks the following concepts:

  • Device numbers
  • File ownership

Also wasi-libc does not provide the following functionalities at the moment:

@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit fbae263 into apple:main Mar 2, 2024
2 of 3 checks passed
@al45tair
Copy link
Contributor

al45tair commented Mar 3, 2024

You may wish to make changes for this to https://github.com/apple/swift-foundation as well.

@kateinoigakukun
Copy link
Member Author

kateinoigakukun commented Mar 3, 2024

Yeah, we need to port the new one too but it's blocked by cross compilation with Swift macro support in SwiftPM.

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

3 participants