Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Apr 16, 2021

This PR:

  • Implements environment variables on Linux (MacOS and WASI were already supported)
  • Implements command line arguments on Linux, MacOS and WASI.

While these two changes are more or less separate, implementing the first made it a lot cleaner to write tests for the second.

@aykevl
Copy link
Member Author

aykevl commented Apr 16, 2021

Hmmm, maybe I should split out the wasi-libc change.

Implement command line arguments for Linux, MacOS and WASI.
@aykevl
Copy link
Member Author

aykevl commented Apr 18, 2021

I solved it a little bit differently. I like this way, it's a bit more flexible.

@deadprogram
Copy link
Member

This is rather exciting feature, I think this now makes it possible to create useful CLI tools, writ small.

Merging, thanks for working on this one @aykevl

@deadprogram deadprogram merged commit 7b761fa into dev Apr 21, 2021
@deadprogram deadprogram deleted the runtime-env branch April 21, 2021 08:32
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.

3 participants