Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
254 changes: 91 additions & 163 deletions Cargo.lock

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -372,22 +372,22 @@ wasip1 = { version = "1.0.0", default-features = false }
target-lexicon = "0.13.5"
rustix = "1.1.6"
# wit-bindgen:
wit-bindgen = { version = "0.63.0", default-features = false }
wit-bindgen-rust-macro = { version = "0.63.0", default-features = false }
wit-bindgen = { version = "0.64.0", default-features = false }
wit-bindgen-rust-macro = { version = "0.64.0", default-features = false }

# wasm-tools family:
wasmparser = { version = "0.263.0", default-features = false, features = ['simd'] }
wat = "1.263.0"
wast = "263.0.0"
wasmprinter = "0.263.0"
wasm-encoder = "0.263.0"
wasm-smith = "0.263.0"
wasm-mutate = "0.263.0"
wit-parser = "0.263.0"
wit-component = "0.263.0"
wasm-wave = "0.263.0"
wasm-compose = { version = "0.263.0", default-features = false }
json-from-wast = "0.263.0"
wasmparser = { version = "0.264.0", default-features = false, features = ['simd'] }
wat = "1.264.0"
wast = "264.0.0"
wasmprinter = "0.264.0"
wasm-encoder = "0.264.0"
wasm-smith = "0.264.0"
wasm-mutate = "0.264.0"
wit-parser = "0.264.0"
wit-component = "0.264.0"
wasm-wave = "0.264.0"
wasm-compose = { version = "0.264.0", default-features = false }
json-from-wast = "0.264.0"

wstd = "0.6.5"
wasip2 = "1.0"
Expand Down
2 changes: 2 additions & 0 deletions crates/test-util/src/wast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ impl WastTest {
// Wasmtime doesn't implement `assert_{invalid,malformed}_custom`
"spec_testsuite/proposals/extended-name-section/custom/name_annot.wast",
"spec_testsuite/proposals/extended-name-section/custom/name.wast",
// Waiting on WebAssembly/component-model#776
"component-model/test/validation/outer-alias.wast",
];
if unsupported.iter().any(|part| self.path.ends_with(part)) {
return true;
Expand Down
32 changes: 32 additions & 0 deletions crates/wasi-preview1-component-adapter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,38 @@ pub mod bindings {
pub mod wit_bindgen_rt_shim {
pub use bitflags;

#[macro_export]
macro_rules! __extern_wasm {
(
#[link(wasm_import_module = $module:literal)]
unsafe extern "C" {
$(
#[link_name = $name:literal]
$vis:vis fn $func_name:ident ( $($arg:ident : $ty:ty),* $(,)? ) $(-> $ret:ty)?;
)*
}
) => {
$(
#[cfg(not(target_family = "wasm"))]
$vis unsafe fn $func_name($($arg: $ty),*) $(-> $ret)? {
$(let _ = $arg;)*
unreachable!();
}
)*

#[cfg(target_family = "wasm")]
#[link(wasm_import_module = $module)]
unsafe extern "C" {
$(
#[link_name = $name]
$vis fn $func_name($($arg: $ty),*) $(-> $ret)?;
)*
}
};
}

pub use crate::__extern_wasm as extern_wasm;

pub fn maybe_link_cabi_realloc() {}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/wit-bindgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl Opts {
}

let mut r = Wasmtime::default();
r.sizes.fill(resolve)?;
r.sizes.fill(resolve, world)?;
r.opts = self.clone();
r.populate_world_and_interface_options(resolve, world);
r.generate(resolve, world)
Expand Down
85 changes: 30 additions & 55 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1399,8 +1399,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.json-from-wast]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.libc]]
Expand Down Expand Up @@ -1891,8 +1891,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wasm-compose]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-encoder]]
Expand All @@ -1901,13 +1901,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-encoder]]
version = "0.262.0"
when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-encoder]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-metadata]]
Expand All @@ -1917,18 +1912,13 @@ user-id = 73222
user-login = "wasmtime-publish"

[[publisher.wasm-metadata]]
version = "0.262.0"
when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-metadata]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasm-wave]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasmparser]]
Expand All @@ -1937,18 +1927,13 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasmparser]]
version = "0.262.0"
when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasmparser]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasmprinter]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wasmtime]]
Expand Down Expand Up @@ -2102,13 +2087,13 @@ when = "2026-10-29"
trusted-publisher = "github:bytecodealliance/wasmtime"

[[publisher.wast]]
version = "263.0.0"
when = "2026-10-30"
version = "264.0.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wat]]
version = "1.263.0"
when = "2026-10-30"
version = "1.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wiggle]]
Expand Down Expand Up @@ -2276,8 +2261,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen]]
version = "0.63.0"
when = "2026-10-14"
version = "0.64.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-core]]
Expand All @@ -2286,8 +2271,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-core]]
version = "0.63.0"
when = "2026-10-14"
version = "0.64.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-rt]]
Expand All @@ -2302,8 +2287,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-rust]]
version = "0.63.0"
when = "2026-10-14"
version = "0.64.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-rust-macro]]
Expand All @@ -2312,8 +2297,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-bindgen-rust-macro]]
version = "0.63.0"
when = "2026-10-14"
version = "0.64.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wit-bindgen"

[[publisher.wit-component]]
Expand All @@ -2322,13 +2307,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wit-component]]
version = "0.262.0"
when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wit-component]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wit-parser]]
Expand All @@ -2337,13 +2317,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wit-parser]]
version = "0.262.0"
when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.wit-parser]]
version = "0.263.0"
when = "2026-10-30"
version = "0.264.0"
when = "2026-12-02"
trusted-publisher = "github:bytecodealliance/wasm-tools"

[[publisher.witx]]
Expand Down
4 changes: 2 additions & 2 deletions tests/all/component_model/nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ fn thread_options_through_inner() -> Result<()> {

#[test]
fn issue_14506_long_reexport_chain_compiles_quickly() -> Result<()> {
const FUNCS: usize = 500;
const CHAIN: usize = 500;
const FUNCS: usize = 400;
const CHAIN: usize = 400;

let mut wat = String::from(
" (component\n\
Expand Down
Loading
Loading