Skip to content

Add #ifdef conditions to CFPlatform.c for WASI #3028

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

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

MaxDesiatov
Copy link
Contributor

WASI doesn't support multi-threading and process info or environment variables. Here we #ifdef relevant code out, or replace with stubs that allow Foundation to be compiled for WASI.

WASI doesn't support multi-threading and process info or environment variables. Here we `#ifdef` relevant code out, or replace with stubs that allow Foundation to be compiled for WASI.
@MaxDesiatov MaxDesiatov requested a review from millenomi August 8, 2021 17:25
@MaxDesiatov
Copy link
Contributor Author

@swift-ci please test

@MaxDesiatov MaxDesiatov merged commit 4aaaa36 into main Aug 9, 2021
@MaxDesiatov MaxDesiatov deleted the maxd/cfplatform-wasi branch August 9, 2021 08:35
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