WASI prototype design, implementation, and documentation.#65
Merged
sunfishcode merged 4 commits intomasterfrom Mar 27, 2019
Merged
WASI prototype design, implementation, and documentation.#65sunfishcode merged 4 commits intomasterfrom
sunfishcode merged 4 commits intomasterfrom
Conversation
This adds documents describing the WASI Core API, and an implementation in Wasmtime.
matprec
reviewed
Mar 27, 2019
Fix a missing comma. Co-Authored-By: sunfishcode <sunfish@mozilla.com>
Contributor
|
Whoaaa nice! |
bjorn3
reviewed
Mar 27, 2019
| -o, --optimize runs optimization passes on the translated functions | ||
| -g generate debug information | ||
| -d, --debug enable debug output on stderr/stdout | ||
| --preload=<wasm> load an additional wasm module before loading the main module |
Contributor
There was a problem hiding this comment.
Maybe allow multiple modules to be preloaded?
Member
Author
There was a problem hiding this comment.
You can use --preload= multiple times.
bjorn3
reviewed
Mar 27, 2019
| Path::new(argv0) | ||
| .components() | ||
| .next_back() | ||
| .map(Component::as_os_str) |
Contributor
There was a problem hiding this comment.
You can use path.file_name(): https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.file_name
Member
Author
There was a problem hiding this comment.
Ah, I was looking for a function that did that, but somehow missed it. Thanks!
bjorn3
reviewed
Mar 27, 2019
Fix spelling error. Co-Authored-By: sunfishcode <sunfish@mozilla.com>
Member
Author
|
Thanks for the reviews all! I'm going to merge this now to make it easier for people to experiment with WASI, but this is just the beginning 😄 . |
howjmay
pushed a commit
to howjmay/wasmtime
that referenced
this pull request
Jan 24, 2022
pchickey
added a commit
to pchickey/wasmtime
that referenced
this pull request
May 16, 2023
* implement some host filesystem operations: create_directory_at stat remove_directory_at symlink_at unlink_file_at * host filesystem tests: some new ones pass, others use EXPECT_FAIL constant by using `if EXPECT_FAIL` instead of `if true` its now easier to find which failing tests are actually passing. The following are now expected to pass (though it may not be the fault of this branch fixing them): dangling_fd file_pread_pwrite file_unbuffered_write isatty path_exists symlink_create * dangling_fd fails on windows * test-programs macros: deduplicate tests I invoked the test_log::test and tokio::test proc macros incorrectly, so it created 2 identically named versions of each test
dhil
added a commit
to dhil/wasmtime
that referenced
this pull request
Dec 6, 2023
Merge with upstream
mooori
pushed a commit
to mooori/wasmtime
that referenced
this pull request
Dec 20, 2023
zkasm: i64.const
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds documents describing the WASI Core API, and an implementation in
Wasmtime.
For more information about WASI, see
https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/
For documentation, see the docs directory in this PR, which is also linked to from
https://wasi.dev.