From ecfa983e6a597b0d82ec09589950a6cb9cd739e8 Mon Sep 17 00:00:00 2001 From: Yosh Date: Thu, 5 Dec 2024 22:41:23 +0100 Subject: [PATCH] v0.2.3 --- command.md | 118 +++++++++++++-------------- imports.md | 120 ++++++++++++++-------------- wit/command.wit | 2 +- wit/deps.lock | 20 ++--- wit/deps/clocks/monotonic-clock.wit | 4 +- wit/deps/clocks/timezone.wit | 2 +- wit/deps/clocks/wall-clock.wit | 2 +- wit/deps/clocks/world.wit | 2 +- wit/deps/filesystem/preopens.wit | 4 +- wit/deps/filesystem/types.wit | 10 +-- wit/deps/filesystem/world.wit | 2 +- wit/deps/io/error.wit | 2 +- wit/deps/io/poll.wit | 2 +- wit/deps/io/streams.wit | 2 +- wit/deps/io/world.wit | 2 +- wit/deps/random/insecure-seed.wit | 2 +- wit/deps/random/insecure.wit | 2 +- wit/deps/random/random.wit | 2 +- wit/deps/random/world.wit | 2 +- wit/deps/sockets/ip-name-lookup.wit | 2 +- wit/deps/sockets/network.wit | 2 +- wit/deps/sockets/tcp.wit | 6 +- wit/deps/sockets/udp.wit | 2 +- wit/deps/sockets/world.wit | 2 +- wit/imports.wit | 12 +-- wit/stdio.wit | 6 +- 26 files changed, 167 insertions(+), 167 deletions(-) diff --git a/command.md b/command.md index 7da1f92..b25b71e 100644 --- a/command.md +++ b/command.md @@ -2,42 +2,42 @@ -

Import interface wasi:cli/environment@0.2.2

+

Import interface wasi:cli/environment@0.2.3


Functions

get-environment: func

@@ -64,7 +64,7 @@ directory, interpreting . as shorthand for this.

-

Import interface wasi:cli/exit@0.2.2

+

Import interface wasi:cli/exit@0.2.3


Functions

exit: func

@@ -84,7 +84,7 @@ without the connotation that something bad has happened.

-

Import interface wasi:io/error@0.2.2

+

Import interface wasi:io/error@0.2.3


Types

resource error

@@ -117,7 +117,7 @@ hazard.

-

Import interface wasi:io/poll@0.2.2

+

Import interface wasi:io/poll@0.2.3

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


@@ -170,7 +170,7 @@ being ready for I/O.

-

Import interface wasi:io/streams@0.2.2

+

Import interface wasi:io/streams@0.2.3

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; @@ -500,7 +500,7 @@ is ready for reading, before performing the splice.

-

Import interface wasi:cli/stdin@0.2.2

+

Import interface wasi:cli/stdin@0.2.3


Types

type input-stream

@@ -513,7 +513,7 @@ is ready for reading, before performing the splice.

-

Import interface wasi:cli/stdout@0.2.2

+

Import interface wasi:cli/stdout@0.2.3


Types

type output-stream

@@ -526,7 +526,7 @@ is ready for reading, before performing the splice.

-

Import interface wasi:cli/stderr@0.2.2

+

Import interface wasi:cli/stderr@0.2.3


Types

type output-stream

@@ -539,7 +539,7 @@ is ready for reading, before performing the splice.

-

Import interface wasi:cli/terminal-input@0.2.2

+

Import interface wasi:cli/terminal-input@0.2.3

Terminal input.

In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -548,7 +548,7 @@ immediately, querying supported features, and so on.

Types

resource terminal-input

The input side of a terminal.

-

Import interface wasi:cli/terminal-output@0.2.2

+

Import interface wasi:cli/terminal-output@0.2.3

Terminal output.

In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -557,7 +557,7 @@ features, and so on.

Types

resource terminal-output

The output side of a terminal.

-

Import interface wasi:cli/terminal-stdin@0.2.2

+

Import interface wasi:cli/terminal-stdin@0.2.3

An interface providing an optional terminal-input for stdin as a link-time authority.


@@ -574,7 +574,7 @@ allowing further interaction with it.

-

Import interface wasi:cli/terminal-stdout@0.2.2

+

Import interface wasi:cli/terminal-stdout@0.2.3

An interface providing an optional terminal-output for stdout as a link-time authority.


@@ -591,7 +591,7 @@ allowing further interaction with it.

-

Import interface wasi:cli/terminal-stderr@0.2.2

+

Import interface wasi:cli/terminal-stderr@0.2.3

An interface providing an optional terminal-output for stderr as a link-time authority.


@@ -608,7 +608,7 @@ allowing further interaction with it.

-

Import interface wasi:clocks/monotonic-clock@0.2.2

+

Import interface wasi:clocks/monotonic-clock@0.2.3

WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

It is intended to be portable at least between Unix-family platforms and @@ -667,7 +667,7 @@ elapsed from the time this function is invoked.

-

Import interface wasi:clocks/wall-clock@0.2.2

+

Import interface wasi:clocks/wall-clock@0.2.3

WASI Wall Clock is a clock API intended to let users query the current time. The name "wall" makes an analogy to a "clock on the wall", which is not necessarily monotonic as it may be reset.

@@ -708,7 +708,7 @@ also known as Unix Time.
  • datetime
  • -

    Import interface wasi:filesystem/types@0.2.2

    +

    Import interface wasi:filesystem/types@0.2.3

    WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.

    @@ -1177,7 +1177,7 @@ POSIX.

    Return a stream for appending to a file, if available.

    May fail with an error-code describing why the file cannot be appended.

    Note: This allows using write-stream, which is similar to write with -O_APPEND in in POSIX.

    +O_APPEND in POSIX.

    Params
    + + +

    Import interface wasi:cli/environment@0.2.3


    Functions

    get-environment: func

    @@ -59,7 +59,7 @@ directory, interpreting . as shorthand for this.

    -

    Import interface wasi:cli/exit@0.2.2

    +

    Import interface wasi:cli/exit@0.2.3


    Functions

    exit: func

    @@ -79,7 +79,7 @@ without the connotation that something bad has happened.

    -

    Import interface wasi:io/error@0.2.2

    +

    Import interface wasi:io/error@0.2.3


    Types

    resource error

    @@ -112,7 +112,7 @@ hazard.

    -

    Import interface wasi:io/poll@0.2.2

    +

    Import interface wasi:io/poll@0.2.3

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


    @@ -165,7 +165,7 @@ being ready for I/O.

    -

    Import interface wasi:io/streams@0.2.2

    +

    Import interface wasi:io/streams@0.2.3

    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; @@ -495,7 +495,7 @@ is ready for reading, before performing the splice.

    -

    Import interface wasi:cli/stdin@0.2.2

    +

    Import interface wasi:cli/stdin@0.2.3


    Types

    type input-stream

    @@ -508,7 +508,7 @@ is ready for reading, before performing the splice.

    -

    Import interface wasi:cli/stdout@0.2.2

    +

    Import interface wasi:cli/stdout@0.2.3


    Types

    type output-stream

    @@ -521,7 +521,7 @@ is ready for reading, before performing the splice.

    -

    Import interface wasi:cli/stderr@0.2.2

    +

    Import interface wasi:cli/stderr@0.2.3


    Types

    type output-stream

    @@ -534,7 +534,7 @@ is ready for reading, before performing the splice.

    -

    Import interface wasi:cli/terminal-input@0.2.2

    +

    Import interface wasi:cli/terminal-input@0.2.3

    Terminal input.

    In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -543,7 +543,7 @@ immediately, querying supported features, and so on.

    Types

    resource terminal-input

    The input side of a terminal.

    -

    Import interface wasi:cli/terminal-output@0.2.2

    +

    Import interface wasi:cli/terminal-output@0.2.3

    Terminal output.

    In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -552,7 +552,7 @@ features, and so on.

    Types

    resource terminal-output

    The output side of a terminal.

    -

    Import interface wasi:cli/terminal-stdin@0.2.2

    +

    Import interface wasi:cli/terminal-stdin@0.2.3

    An interface providing an optional terminal-input for stdin as a link-time authority.


    @@ -569,7 +569,7 @@ allowing further interaction with it.

    -

    Import interface wasi:cli/terminal-stdout@0.2.2

    +

    Import interface wasi:cli/terminal-stdout@0.2.3

    An interface providing an optional terminal-output for stdout as a link-time authority.


    @@ -586,7 +586,7 @@ allowing further interaction with it.

    -

    Import interface wasi:cli/terminal-stderr@0.2.2

    +

    Import interface wasi:cli/terminal-stderr@0.2.3

    An interface providing an optional terminal-output for stderr as a link-time authority.


    @@ -603,7 +603,7 @@ allowing further interaction with it.

    -

    Import interface wasi:clocks/monotonic-clock@0.2.2

    +

    Import interface wasi:clocks/monotonic-clock@0.2.3

    WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

    It is intended to be portable at least between Unix-family platforms and @@ -662,7 +662,7 @@ elapsed from the time this function is invoked.

    -

    Import interface wasi:clocks/wall-clock@0.2.2

    +

    Import interface wasi:clocks/wall-clock@0.2.3

    WASI Wall Clock is a clock API intended to let users query the current time. The name "wall" makes an analogy to a "clock on the wall", which is not necessarily monotonic as it may be reset.

    @@ -703,7 +703,7 @@ also known as Unix Time.
  • datetime
  • -

    Import interface wasi:filesystem/types@0.2.2

    +

    Import interface wasi:filesystem/types@0.2.3

    WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.

    @@ -1172,7 +1172,7 @@ POSIX.

    Return a stream for appending to a file, if available.

    May fail with an error-code describing why the file cannot be appended.

    Note: This allows using write-stream, which is similar to write with -O_APPEND in in POSIX.

    +O_APPEND in POSIX.

    Params