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 {