From b8a27208c1b501f3490b71ed6755c0480ca94157 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Fri, 10 Nov 2023 16:19:29 -0800 Subject: [PATCH] Revert " set wasi:sockets package version to 0.2.0-rc-2023-11-10" --- imports.md | 82 ++++++++++++++++++----------------------- wit/deps.lock | 4 +- wit/deps/io/error.wit | 34 ----------------- wit/deps/io/poll.wit | 2 +- wit/deps/io/streams.wit | 23 +++++++++++- wit/deps/io/world.wit | 2 +- wit/ip-name-lookup.wit | 2 +- wit/tcp.wit | 4 +- wit/udp.wit | 2 +- wit/world.wit | 2 +- 10 files changed, 66 insertions(+), 91 deletions(-) delete mode 100644 wit/deps/io/error.wit diff --git a/imports.md b/imports.md index 3f35ee1..7555963 100644 --- a/imports.md +++ b/imports.md @@ -2,20 +2,19 @@ -

Import interface wasi:sockets/network@0.2.0-rc-2023-11-10

+

Import interface wasi:sockets/network


Types

resource network

@@ -226,7 +225,7 @@ combined with a couple of errors that are always possible:

  • ipv4: ipv4-socket-address
  • ipv6: ipv6-socket-address
  • -

    Import interface wasi:sockets/instance-network@0.2.0-rc-2023-11-10

    +

    Import interface wasi:sockets/instance-network

    This interface provides a value-export of the default network handle..


    Types

    @@ -241,7 +240,7 @@ combined with a couple of errors that are always possible:

    -

    Import interface wasi:io/poll@0.2.0-rc-2023-11-10

    +

    Import interface wasi:io/poll

    A poll API intended to let users wait for I/O events on multiple handles at once.


    @@ -291,7 +290,7 @@ being reaedy for I/O.

    -

    Import interface wasi:sockets/udp@0.2.0-rc-2023-11-10

    +

    Import interface wasi:sockets/udp


    Types

    type pollable

    @@ -653,7 +652,7 @@ It's planned to be removed when future is natively supported in Pre -

    Import interface wasi:sockets/udp-create-socket@0.2.0-rc-2023-11-10

    +

    Import interface wasi:sockets/udp-create-socket


    Types

    type network

    @@ -698,41 +697,18 @@ the socket is effectively an in-memory configuration object, unable to communica -

    Import interface wasi:io/error@0.2.0-rc-2023-11-10

    -
    -

    Types

    -

    resource error

    -
    -

    Functions

    -

    [method]error.to-debug-string: func

    -

    Returns a string that is suitable to assist humans in debugging -this error.

    -

    WARNING: The returned string should not be consumed mechanically! -It may change across platforms, hosts, or other implementation -details. Parsing this string is a major platform-compatibility -hazard.

    -
    Params
    - -
    Return values
    - -

    Import interface wasi:io/streams@0.2.0-rc-2023-11-10

    +

    Import interface wasi:io/streams

    WASI I/O is an I/O abstraction API which is currently focused on providing stream types.

    In the future, the component model is expected to add built-in stream types; when it does, they are expected to subsume this API.


    Types

    -

    type error

    -

    error

    -

    -#### `type pollable` -[`pollable`](#pollable) +

    type pollable

    +

    pollable

    -#### `variant stream-error` +#### `resource error` +

    variant stream-error

    An error for input-stream and output-stream operations.

    Variant Cases