From d757018e77e702f7df0f51fbb17bea11e856fcab Mon Sep 17 00:00:00 2001 From: LingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org> Date: Sun, 30 Nov 2025 04:55:44 +0100 Subject: [PATCH] rust: build `equivalent` dependency with the correct edition Although a crate may happen to be compatible with multiple editions, building with the wrong edition can - generally speaking - lead to subtle bugs. There are no known failures in this case, but better to match the official Cargo.toml anyway. Fixes: 9e3e12e6a97 ("meson: Add indexmap rust dependencies") Reviewed-by: Christian Gmeiner Part-of: --- subprojects/packagefiles/equivalent-1-rs/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/packagefiles/equivalent-1-rs/meson.build b/subprojects/packagefiles/equivalent-1-rs/meson.build index c57c23ea96d..6309928ad2e 100644 --- a/subprojects/packagefiles/equivalent-1-rs/meson.build +++ b/subprojects/packagefiles/equivalent-1-rs/meson.build @@ -8,7 +8,7 @@ project( lib = static_library( 'equivalent', 'src/lib.rs', - override_options : ['rust_std=2021', 'build.rust_std=2021'], + override_options : ['rust_std=2015', 'build.rust_std=2015'], rust_abi : 'rust', native : true, )