From 61380c5e0abc202e727df020a9d26684934f504e Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 10 Jun 2026 12:58:17 +0200 Subject: [PATCH] build(wasmtime): don't require exact patch version Now that wasmtime has introduced LTS releases (and tree-sitter tracks them), we no longer need to pin the version exactly but can rely on any major.minor version being compatible. This avoids having to edit the CMake file on every patch bump. --- src/nvim/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 856f92e738..48f1657ec0 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -53,7 +53,7 @@ if(ENABLE_UNIBILIUM) endif() if(ENABLE_WASMTIME) - find_package(Wasmtime 36.0.6 EXACT REQUIRED) + find_package(Wasmtime 36.0 EXACT REQUIRED) target_link_libraries(main_lib INTERFACE wasmtime) target_compile_definitions(nvim_bin PRIVATE HAVE_WASMTIME) endif()