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] Add shims for aliased errno constants in WASILibc overlay #75671

Merged

Conversation

kateinoigakukun
Copy link
Member

We provide shims for errno constants in WASILibc overlay since wasi-libc's errno.h defines those constants in a way that cannot be imported by ClangImporter.
However, some errno constants are aliased in wasi-libc, and we didn't provided shims for them. This patch adds those missing shims.

We provide shims for errno constants in WASILibc overlay since
wasi-libc's errno.h defines those constants in a way that cannot be
imported by ClangImporter.
However, some errno constants are aliased in wasi-libc, and we didn't
provided shims for them. This patch adds those missing shims.
@kateinoigakukun
Copy link
Member Author

@swift-ci test WebAssembly

@kateinoigakukun
Copy link
Member Author

@swift-ci smoke test

@kateinoigakukun
Copy link
Member Author

@swift-ci test WebAssembly

@kateinoigakukun kateinoigakukun marked this pull request as ready for review August 4, 2024 23:12
@kateinoigakukun kateinoigakukun requested a review from a team as a code owner August 4, 2024 23:12
@kateinoigakukun kateinoigakukun requested review from MaxDesiatov and removed request for a team August 4, 2024 23:13
@kateinoigakukun kateinoigakukun merged commit 34588ac into swiftlang:main Aug 5, 2024
4 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/add-alias-errno-const branch August 5, 2024 09:45
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.

2 participants