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

Fix environment variable init to exit successfully. #159

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

sunfishcode
Copy link
Member

sunfishcode added a commit to WebAssembly/wasi-sdk that referenced this pull request Jan 14, 2020
This adds basic support for environment variables to the test harness,
and adds a simple test.

This tests the bug found in WebAssembly/wasi-libc#159.
@sbc100
Copy link
Member

sbc100 commented Jan 14, 2020

Woah.. did we ship this is version wasi-sdk already? I guess that means that basic test we have there don't cover this ?

@sunfishcode
Copy link
Member Author

Yeah, we didn't previously have any tests that set environment variables. I've now opened WebAssembly/wasi-sdk#95 to add such a test.

@sunfishcode sunfishcode merged commit 1fad338 into master Jan 14, 2020
@sunfishcode sunfishcode deleted the fix-env-init branch January 14, 2020 17:57
sunfishcode added a commit to WebAssembly/wasi-sdk that referenced this pull request Jan 14, 2020
This adds basic support for environment variables to the test harness,
and adds a simple test.

This tests the bug found in WebAssembly/wasi-libc#159.
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.

wasmtime should have more options for debugging errors in early program startup
2 participants