From 0ee4cd563c5fa9f7c39981ce0704f8d7c2a0313d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Grabarz?= Date: Wed, 23 Oct 2024 21:58:27 +0200 Subject: [PATCH] narrow down crate search in wasm tests runner --- build_tools/build/src/project/wasm/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build/src/project/wasm/test.rs b/build_tools/build/src/project/wasm/test.rs index 53c785a86822..356e9de70688 100644 --- a/build_tools/build/src/project/wasm/test.rs +++ b/build_tools/build/src/project/wasm/test.rs @@ -64,7 +64,7 @@ impl From for wasm_pack::TestFlags { /// Lists members of given Cargo.toml workspace. pub fn get_all_crates(repo_root: impl AsRef) -> Result> { - let pattern = repo_root.as_ref().join("**/Cargo.toml"); + let pattern = repo_root.as_ref().join("[al][pi][pb]/**/Cargo.toml"); let all_paths = glob::glob(pattern.as_str()).context(format!("Globbing {} failed", pattern.display()))?; let valid_paths = all_paths.filter_map(|path| match path {