From c182a3efbf2a331ea4b6f00cd980ec9a9ae83834 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 20 Dec 2024 10:41:55 -0600 Subject: [PATCH] Bump to 28.0.0 (#264) --- ci/download-wasmtime.py | 2 +- setup.py | 2 +- wasmtime/_bindings.py | 32 ++++++++++++++++---------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ci/download-wasmtime.py b/ci/download-wasmtime.py index 15ee445..59ba57b 100644 --- a/ci/download-wasmtime.py +++ b/ci/download-wasmtime.py @@ -12,7 +12,7 @@ # set to "dev" to download the latest or pick a tag from # https://github.com/bytecodealliance/wasmtime/tags -WASMTIME_VERSION = "v27.0.0" +WASMTIME_VERSION = "v28.0.0" def main(platform, arch): diff --git a/setup.py b/setup.py index e51ef00..59098d4 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: long_description = fh.read() -version = "27.0.2" +version = "28.0.0" # Give unique version numbers to all commits so our publication-on-each commit # works on main diff --git a/wasmtime/_bindings.py b/wasmtime/_bindings.py index 33bb357..5709afc 100644 --- a/wasmtime/_bindings.py +++ b/wasmtime/_bindings.py @@ -2184,17 +2184,17 @@ def wasmtime_config_cranelift_opt_level_set(arg0: Any, arg1: Any) -> None: def wasmtime_config_profiler_set(arg0: Any, arg1: Any) -> None: return _wasmtime_config_profiler_set(arg0, arg1) # type: ignore -_wasmtime_config_static_memory_forced_set = dll.wasmtime_config_static_memory_forced_set -_wasmtime_config_static_memory_forced_set.restype = None -_wasmtime_config_static_memory_forced_set.argtypes = [POINTER(wasm_config_t), c_bool] -def wasmtime_config_static_memory_forced_set(arg0: Any, arg1: Any) -> None: - return _wasmtime_config_static_memory_forced_set(arg0, arg1) # type: ignore - -_wasmtime_config_static_memory_maximum_size_set = dll.wasmtime_config_static_memory_maximum_size_set -_wasmtime_config_static_memory_maximum_size_set.restype = None -_wasmtime_config_static_memory_maximum_size_set.argtypes = [POINTER(wasm_config_t), c_uint64] -def wasmtime_config_static_memory_maximum_size_set(arg0: Any, arg1: Any) -> None: - return _wasmtime_config_static_memory_maximum_size_set(arg0, arg1) # type: ignore +_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set +_wasmtime_config_memory_may_move_set.restype = None +_wasmtime_config_memory_may_move_set.argtypes = [POINTER(wasm_config_t), c_bool] +def wasmtime_config_memory_may_move_set(arg0: Any, arg1: Any) -> None: + return _wasmtime_config_memory_may_move_set(arg0, arg1) # type: ignore + +_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set +_wasmtime_config_memory_reservation_set.restype = None +_wasmtime_config_memory_reservation_set.argtypes = [POINTER(wasm_config_t), c_uint64] +def wasmtime_config_memory_reservation_set(arg0: Any, arg1: Any) -> None: + return _wasmtime_config_memory_reservation_set(arg0, arg1) # type: ignore _wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set _wasmtime_config_memory_guard_size_set.restype = None @@ -2202,11 +2202,11 @@ def wasmtime_config_static_memory_maximum_size_set(arg0: Any, arg1: Any) -> None def wasmtime_config_memory_guard_size_set(arg0: Any, arg1: Any) -> None: return _wasmtime_config_memory_guard_size_set(arg0, arg1) # type: ignore -_wasmtime_config_dynamic_memory_reserved_for_growth_set = dll.wasmtime_config_dynamic_memory_reserved_for_growth_set -_wasmtime_config_dynamic_memory_reserved_for_growth_set.restype = None -_wasmtime_config_dynamic_memory_reserved_for_growth_set.argtypes = [POINTER(wasm_config_t), c_uint64] -def wasmtime_config_dynamic_memory_reserved_for_growth_set(arg0: Any, arg1: Any) -> None: - return _wasmtime_config_dynamic_memory_reserved_for_growth_set(arg0, arg1) # type: ignore +_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set +_wasmtime_config_memory_reservation_for_growth_set.restype = None +_wasmtime_config_memory_reservation_for_growth_set.argtypes = [POINTER(wasm_config_t), c_uint64] +def wasmtime_config_memory_reservation_for_growth_set(arg0: Any, arg1: Any) -> None: + return _wasmtime_config_memory_reservation_for_growth_set(arg0, arg1) # type: ignore _wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set _wasmtime_config_native_unwind_info_set.restype = None