Skip to content

Conversation

pchickey
Copy link
Contributor

This renaming is motivated by having both stream/stream-error and stream/error being a little bit confusing, especially if we want to reuse the error type outside of a stream context. So this makes it an "io error" morally.

@pchickey pchickey requested a review from a team as a code owner November 10, 2023 00:25
@pchickey pchickey requested review from alexcrichton and removed request for a team November 10, 2023 00:25
@github-actions github-actions bot added the wasi Issues pertaining to WASI label Nov 10, 2023
@pchickey pchickey added this pull request to the merge queue Nov 10, 2023
Merged via the queue into main with commit 9297146 Nov 10, 2023
@pchickey pchickey deleted the pch/wasi_io_error branch November 10, 2023 18:43
alexcrichton pushed a commit to alexcrichton/wasmtime that referenced this pull request Nov 12, 2023
…dealliance#7521)

* Move the `error` resource into `wasi:io/error`

* error.wit: update doc comments

* downstream fixes to streams.wit doc comments

* fix package name in error.wit

---------

Co-authored-by: Trevor Elliott <telliott@fastly.com>
alexcrichton added a commit that referenced this pull request Nov 13, 2023
* Remove timezone interface from wasi-clocks (#7515)

* delete wasi-clocks timezone interface: import wit changes from WebAssembly/wasi-clocks#55

* remove other references to wasi:clocks/timezone in wits

* remove todo! implementation of clocks/timezone and add_to_linker funcs

* Move the `wasi:io/stream/error` resource into `wasi:io/error` (#7521)

* Move the `error` resource into `wasi:io/error`

* error.wit: update doc comments

* downstream fixes to streams.wit doc comments

* fix package name in error.wit

---------

Co-authored-by: Trevor Elliott <telliott@fastly.com>

* wasi-http: Make child fields immutable (#7524)

* Make child fields immutable

* Add `get_fields` and remove `FieldMapMutability`

Clean up the interface to immutable fields by adding a different
accessor.

* Clean up the diff

* wasi-http: Migrate to more descriptive error variant (#7434)

* Migrate to a more specific error-code variant in wasi-http

Co-authored-by: Pat Hickey <phickey@fastly.com>

* Optional fields, and align with upstream pr

* Update for upstream changes to the error-code variant

* Sync with the upstream implementation

* Missed updating an error for riscv64 and s390x

* More debuggable error

prtest:full

* Try to stabilize the test on windows

---------

Co-authored-by: Pat Hickey <phickey@fastly.com>

* Remove a debugging eprintln (#7528)

* Remove no-longer-necessary reactor world (#7516)

The `wasi:cli` WIT package now has a `reactor` world so the adapter can
use that instead of defining its own.

---------

Co-authored-by: Pat Hickey <phickey@fastly.com>
Co-authored-by: Trevor Elliott <telliott@fastly.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi Issues pertaining to WASI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants