Commit cdafe5e
committed
update
This updates `wasmtime-environ`, `wasmtime-cranelift`, and `wasmtime` to to use
(some of) the new ABI defined in
WebAssembly/component-model#524. It covers everything
in that PR _except_ the lifting and lowering changes to `future.{read,write}`,
which we decided are more trouble than they're worth.
Still to do: add tests for the following items (Luke has volunteered to do this):
> * When a `future` is "done" (by a `COMPLETED` read/write or by the writable end receiving `DROPPED`), the only valid operation is `future.drop-{readable,writable}`. `future.{read,write}` or lifting traps.
> * Because there's no great reason for streams to be more permissive than futures in this regard, streams are also given a "done" state with the same trapping rules as futures, but the stream "done" state is only set when `DROPPED` is received.
Signed-off-by: Joel Dice <[email protected]>future/stream ABIs and names1 parent b0b72ca commit cdafe5e
File tree
25 files changed
+437
-536
lines changed- crates
- cranelift/src/compiler
- environ/src
- component
- translate
- test-programs/src
- bin
- wasmtime/src/runtime
- component
- concurrent
- futures_and_streams
- vm/component
- tests/misc_testsuite/component-model-async
25 files changed
+437
-536
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments