-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release Wasmtime 17.0.0 [automatically-tag-and-release-this-commit] * Change update of gcc on MinGW (#7760) Try not passing `-y -u` to `pacman` to avoid full system updates. Currently full system updates might update the `msys2-runtime` package before actually updating the package we requested, meaning that this might not actually update anything given an update. This is what's currently happening on CI which is breaking due to an update of gcc not actually updating gcc. I'm mostly reading the invocation in rust-lang/rust CI and seeing that it doesn't pass `-y -u` and hopeing that by copying that here things might work. prtest:full * use released WASI Preview 2 (version 0.2.0) wits (#7817) * WASI: copy in the version 0.2.0 wits * wasmtime's wits: use versions 0.2.0 of wasi packages * bindgens and other fixed version strings: change 0.2.0-rc-etc to 0.2.0 * Enable the component model by default This commit enables the component model by default in the embedding API and the CLI. This means that an opt-in of `-W component-model` is no longer required and additionally `.wasm_component_model(true)` is no longer required. Note that this won't impact existing embeddings since the component model feature doesn't do much less `wasmtime::component` is used, and if that's being used this is probably good news for you. * Add release notes for 17.0.0 * Fix non-component-model build --------- Co-authored-by: Wasmtime Publish <[email protected]> Co-authored-by: Alex Crichton <[email protected]> Co-authored-by: Pat Hickey <[email protected]>
- Loading branch information
1 parent
b239c50
commit ab5a448
Showing
60 changed files
with
215 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ pub mod bindings { | |
wasmtime::component::bindgen!({ | ||
path: "wit", | ||
interfaces: " | ||
import wasi:http/[email protected]-rc-2024-01-16; | ||
import wasi:http/[email protected]-rc-2024-01-16; | ||
import wasi:http/[email protected]-rc-2024-01-16; | ||
import wasi:http/[email protected]; | ||
import wasi:http/[email protected]; | ||
import wasi:http/[email protected]; | ||
", | ||
tracing: true, | ||
async: false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// All of the same imports and exports available in the wasi:cli/command world | ||
// with addition of HTTP proxy related imports: | ||
world command-extended { | ||
include wasi:cli/command@0.2.0-rc-2024-01-16; | ||
import wasi:http/outgoing-handler@0.2.0-rc-2024-01-16; | ||
include wasi:cli/command@0.2.0; | ||
import wasi:http/outgoing-handler@0.2.0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:cli@0.2.0-rc-2024-01-16; | ||
package wasi:cli@0.2.0; | ||
|
||
world command { | ||
include imports; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
interface stdin { | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream}; | ||
use wasi:io/streams@0.2.0.{input-stream}; | ||
|
||
get-stdin: func() -> input-stream; | ||
} | ||
|
||
interface stdout { | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream}; | ||
use wasi:io/streams@0.2.0.{output-stream}; | ||
|
||
get-stdout: func() -> output-stream; | ||
} | ||
|
||
interface stderr { | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{output-stream}; | ||
use wasi:io/streams@0.2.0.{output-stream}; | ||
|
||
get-stderr: func() -> output-stream; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.0-rc-2023-11-10; | ||
package wasi:clocks@0.2.0; | ||
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed | ||
/// time. | ||
/// | ||
|
@@ -10,7 +10,7 @@ package wasi:[email protected]; | |
/// | ||
/// It is intended for measuring elapsed time. | ||
interface monotonic-clock { | ||
use wasi:io/poll@0.2.0-rc-2023-11-10.{pollable}; | ||
use wasi:io/poll@0.2.0.{pollable}; | ||
|
||
/// An instant in time, in nanoseconds. An instant is relative to an | ||
/// unspecified initial value, and can only be compared to instances from | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.0-rc-2023-11-10; | ||
package wasi:clocks@0.2.0; | ||
|
||
world imports { | ||
import monotonic-clock; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:filesystem@0.2.0-rc-2023-11-10; | ||
package wasi:filesystem@0.2.0; | ||
/// 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. | ||
|
@@ -24,8 +24,8 @@ package wasi:[email protected]; | |
/// | ||
/// [WASI filesystem path resolution]: https://github.com/WebAssembly/wasi-filesystem/blob/main/path-resolution.md | ||
interface types { | ||
use wasi:io/streams@0.2.0-rc-2023-11-10.{input-stream, output-stream, error}; | ||
use wasi:clocks/wall-clock@0.2.0-rc-2023-11-10.{datetime}; | ||
use wasi:io/streams@0.2.0.{input-stream, output-stream, error}; | ||
use wasi:clocks/wall-clock@0.2.0.{datetime}; | ||
|
||
/// File size or length of a region within a file. | ||
type filesize = u64; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:filesystem@0.2.0-rc-2023-11-10; | ||
package wasi:filesystem@0.2.0; | ||
|
||
world imports { | ||
import types; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:io@0.2.0-rc-2023-11-10; | ||
package wasi:io@0.2.0; | ||
|
||
|
||
interface error { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:io@0.2.0-rc-2023-11-10; | ||
package wasi:io@0.2.0; | ||
|
||
world imports { | ||
import streams; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:random@0.2.0-rc-2023-11-10; | ||
package wasi:random@0.2.0; | ||
|
||
world imports { | ||
import random; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:sockets@0.2.0-rc-2024-01-16; | ||
package wasi:sockets@0.2.0; | ||
|
||
world imports { | ||
import instance-network; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,7 +194,7 @@ impl Descriptors { | |
|
||
#[cfg(not(feature = "proxy"))] | ||
fn open_preopens(&self, import_alloc: &ImportAlloc, arena: &BumpArena) { | ||
#[link(wasm_import_module = "wasi:filesystem/[email protected]-rc-2023-11-10")] | ||
#[link(wasm_import_module = "wasi:filesystem/[email protected]")] | ||
#[allow(improper_ctypes)] // FIXME(bytecodealliance/wit-bindgen#684) | ||
extern "C" { | ||
#[link_name = "get-directories"] | ||
|
Oops, something went wrong.