alexcrichton opened PR #1305 from module-docs
to master
:
Part of #1272
alexcrichton requested fitzgen for a review on PR #1305.
fitzgen submitted PR Review.
fitzgen submitted PR Review.
fitzgen created PR Review Comment:
/// // Now we're using the WebAssembly text extension: `.wat`! /// let module = Module::from_file(&store, "path/to/foo.wat")?;
fitzgen created PR Review Comment:
/// The `.wat` text format is also supported:
fitzgen created PR Review Comment:
/// Note that the text format is **not** accepted by this function:
fitzgen created PR Review Comment:
/// assert!(module.exports().is_empty());
fitzgen created PR Review Comment:
/// Or you can also pass in a string to be parsed as the wasm text
fitzgen created PR Review Comment:
/// When the exports are not empty, you can inspect each export:
fitzgen created PR Review Comment:
/// // It also works with the text format!
alexcrichton updated PR #1305 from module-docs
to master
:
Part of #1272
alexcrichton merged PR #1305.
Last updated: Dec 23 2024 at 12:05 UTC