Skip to content

[wasm] Use __wasilibc_get_environ to get environ #4882

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

Conversation

kateinoigakukun
Copy link
Member

The environ variable in wasi-libc need to be accessed through the __wasilibc_get_environ function to ensure that it is initialized properly.

The `environ` variable in wasi-libc need to be accessed through the
`__wasilibc_get_environ` function to ensure that it is initialized
properly.
@kateinoigakukun kateinoigakukun added the WASI WebAssembly System Interface-related changes label Feb 23, 2024
@parkera
Copy link
Contributor

parkera commented Feb 23, 2024

@swift-ci test

2 similar comments
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit 85314f7 into swiftlang:main Feb 29, 2024
@kateinoigakukun kateinoigakukun deleted the pr-c7ef47460e4315ebd73ca77f70adcbe0d41252f7 branch February 29, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WASI WebAssembly System Interface-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants