Stream: git-wasmtime

Topic: wasmtime / PR #6836 Refactor Wasmtime CLI to support com...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2023 at 23:53):

alexcrichton opened PR #6836 from alexcrichton:component-cli to bytecodealliance:main:

This commit refactors the wasmtime CLI executable to be able to
support not only compiling components but additionally executing
components. While I was doing this I've additionally added a new
--preview2 argument to enable using the new experimental
implementation of preview1 based on preview2 type/structs. This is
off-by-default but is expected to become the default in the future.

Some notable features of this change are:


Procedural Note: this PR is based on https://github.com/bytecodealliance/wasmtime/pull/6833 and https://github.com/bytecodealliance/wasmtime/pull/6823 so the first few commits can be ignored.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2023 at 23:53):

alexcrichton requested pchickey for a review on PR #6836.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2023 at 23:53):

alexcrichton requested wasmtime-core-reviewers for a review on PR #6836.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2023 at 23:53):

alexcrichton requested wasmtime-default-reviewers for a review on PR #6836.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2023 at 23:18):

pchickey submitted PR review:

Various conflicts with main, and I'd like to leave the flush stuff out, but otherwise the meat of this is great.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2023 at 23:18):

pchickey created PR review comment:

lets keep this change out please, if possible... even if you need to just sleep(100ms) for now to get stdout/stderr to flush, I want to take the time to get the streams design right rather than merge it in and then back it out immediately.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2023 at 23:18):

pchickey submitted PR review:

Various conflicts with main, and I'd like to leave the flush stuff out, but otherwise the meat of this is great.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2023 at 23:18):

pchickey created PR review comment:

thanks this is a really good idea. we should do the exact same in wasmtime-wit-bindgen.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2023 at 23:18):

pchickey created PR review comment:

Ty, this set of traits got even worse with my cli world update, your change is the right way to handle it.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 18 2023 at 21:56):

alexcrichton updated PR #6836.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 18 2023 at 22:36):

alexcrichton edited PR #6836:

This commit refactors the wasmtime CLI executable to be able to
support not only compiling components but additionally executing
components. While I was doing this I've additionally added a new
--preview2 argument to enable using the new experimental
implementation of preview1 based on preview2 type/structs. This is
off-by-default but is expected to become the default in the future.

Some notable features of this change are:


Procedural Note: this PR is based on https://github.com/bytecodealliance/wasmtime/pull/6833 and https://github.com/bytecodealliance/wasmtime/pull/6823 so the first few commits can be ignored.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 18 2023 at 22:54):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 19 2023 at 01:06):

alexcrichton merged PR #6836.


Last updated: Nov 22 2024 at 16:03 UTC