From baaf06b2c612a87ff03dedf25938f6253c9c9fbe Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 9 Dec 2025 19:29:23 +0100 Subject: [PATCH] cmake/Tests: enable Cargo features For unknown reasons, we don't enable Cargo features on the test target. Let's try to, simplifying things overall. Ref: https://github.com/fish-shell/fish-shell/issues/12120#issuecomment-3627842316 --- cmake/Tests.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index fb7e661ee..d76463615 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -61,6 +61,7 @@ add_custom_target(fish_run_tests ${Rust_CARGO} test --no-default-features + --features=${FISH_CARGO_FEATURES} ${CARGO_FLAGS} --workspace --target-dir ${rust_target_dir}