This file contains hidden or 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
| ;; Run test case | |
| test run | |
| set opt_level=speed | |
| target x86_64 | |
| function %my_fn(i128 sext, i16x8, f64, f32x4, i64x2, i128 sext, i32 sext, i64 sext, f32, i16 uext, i64x2, i16 sext, i32x4, i8 sext, i8x16, i8x16) -> i128 sext, i16x8, f64, f32x4, f32x4, i64x2, i8 uext, i8, f64x2, i32 uext, f32, i128 uext, i32 uext, i64 sext, f32, i16 uext fast { | |
| ss0 = explicit_slot 65, align = 1024 | |
| ss1 = explicit_slot 62, align = 1024 | |
| ss2 = explicit_slot 16, align = 16 |
This file contains hidden or 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
| diff --git a/fuzz/src/roundtrip_wit.rs b/fuzz/src/roundtrip_wit.rs | |
| index 480093bb6..9279296a7 100644 | |
| --- a/fuzz/src/roundtrip_wit.rs | |
| +++ b/fuzz/src/roundtrip_wit.rs | |
| @@ -79,8 +79,11 @@ pub fn run(u: &mut Unstructured<'_>) -> Result<()> { | |
| // Decode what was just created and record it later for testing merging | |
| // worlds together. | |
| - let (_, decoded) = wit_component::metadata::decode(&dummy).unwrap(); | |
| - decoded_bindgens.push((decoded, dummy, world.name.clone())); |
This file contains hidden or 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
| diff --git a/fuzz/src/roundtrip_wit.rs b/fuzz/src/roundtrip_wit.rs | |
| index 480093bb6..9593a31e1 100644 | |
| --- a/fuzz/src/roundtrip_wit.rs | |
| +++ b/fuzz/src/roundtrip_wit.rs | |
| @@ -79,8 +79,11 @@ pub fn run(u: &mut Unstructured<'_>) -> Result<()> { | |
| // Decode what was just created and record it later for testing merging | |
| // worlds together. | |
| - let (_, decoded) = wit_component::metadata::decode(&dummy).unwrap(); | |
| - decoded_bindgens.push((decoded, dummy, world.name.clone())); |
This file contains hidden or 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
| #[allow(unused_variables, dead_code)] | |
| mod my_fs { | |
| use wasi::filesystem::preopens; | |
| use wasi::filesystem::types; | |
| use wasmtime::component::{HasData, Linker, Resource, ResourceTable}; | |
| wasmtime::component::bindgen!({ | |
| with: { | |
| "wasi:clocks": wasmtime_wasi::p2::bindings::clocks, | |
| "wasi:io": wasmtime_wasi::p2::bindings::io, |
This file contains hidden or 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
| #[allow(unused_variables, dead_code)] | |
| mod my_fs { | |
| use wasi::filesystem::preopens; | |
| use wasi::filesystem::types; | |
| use wasmtime::component::{HasData, Linker, Resource}; | |
| wasmtime::component::bindgen!({ | |
| with: { | |
| "wasi:clocks": wasmtime_wasi::p2::bindings::clocks, | |
| "wasi:io": wasmtime_wasi::p2::bindings::io, |
This file contains hidden or 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
| diff --git a/wasmtime/_bindings.py b/wasmtime/_bindings.py | |
| index 9de3cb8..a9218a0 100644 | |
| --- a/wasmtime/_bindings.py | |
| +++ b/wasmtime/_bindings.py | |
| @@ -2148,6 +2148,18 @@ _wasmtime_config_wasm_wide_arithmetic_set.argtypes = [POINTER(wasm_config_t), c_ | |
| def wasmtime_config_wasm_wide_arithmetic_set(arg0: Any, arg1: Any) -> None: | |
| return _wasmtime_config_wasm_wide_arithmetic_set(arg0, arg1) # type: ignore | |
| +_wasmtime_config_wasm_exceptions_set = dll.wasmtime_config_wasm_exceptions_set | |
| +_wasmtime_config_wasm_exceptions_set.restype = None |
This file contains hidden or 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
| diff --git a/crates/wasmtime/src/runtime/debug.rs b/crates/wasmtime/src/runtime/debug.rs | |
| index 0977bf8bc8..374e3d11c5 100644 | |
| --- a/crates/wasmtime/src/runtime/debug.rs | |
| +++ b/crates/wasmtime/src/runtime/debug.rs | |
| @@ -3,11 +3,9 @@ | |
| use crate::{ | |
| AnyRef, AsContext, AsContextMut, ExnRef, ExternRef, Func, Instance, Module, OwnedRooted, | |
| StoreContext, StoreContextMut, Val, | |
| - prelude::Box, | |
| store::{AutoAssertNoGc, StoreOpaque}, |
This file contains hidden or 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
| diff --git a/crates/wasmtime/src/runtime/debug.rs b/crates/wasmtime/src/runtime/debug.rs | |
| index 0977bf8bc8..374e3d11c5 100644 | |
| --- a/crates/wasmtime/src/runtime/debug.rs | |
| +++ b/crates/wasmtime/src/runtime/debug.rs | |
| @@ -3,11 +3,9 @@ | |
| use crate::{ | |
| AnyRef, AsContext, AsContextMut, ExnRef, ExternRef, Func, Instance, Module, OwnedRooted, | |
| StoreContext, StoreContextMut, Val, | |
| - prelude::Box, | |
| store::{AutoAssertNoGc, StoreOpaque}, |
This file contains hidden or 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
| diff --git a/lua-5.4.8/lauxlib.c b/lua-5.4.8/lauxlib.c | |
| index 923105e..6df05d0 100644 | |
| --- a/lua-5.4.8/lauxlib.c | |
| +++ b/lua-5.4.8/lauxlib.c | |
| @@ -265,7 +265,7 @@ LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { | |
| #if !defined(l_inspectstat) /* { */ | |
| -#if defined(LUA_USE_POSIX) | |
| +#if defined(LUA_USE_POSIX) && !defined(__wasi__) |
This file contains hidden or 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
| (module | |
| (func (export "f") | |
| (param | |
| i32 i32 i32 i32 | |
| i32 i32 i32 i32 | |
| i32 i32 i32 i32 | |
| i32 i32 i32 i32 | |
| i32 | |
| ) | |
| (result |
NewerOlder