diff --git a/rust/private/repository_utils.bzl b/rust/private/repository_utils.bzl index eb95f92c28..b8ef97ca49 100644 --- a/rust/private/repository_utils.bzl +++ b/rust/private/repository_utils.bzl @@ -39,7 +39,7 @@ filegroup( "lib/*{dylib_ext}", "lib/rustlib/{target_triple}/codegen-backends/*{dylib_ext}", "lib/rustlib/{target_triple}/bin/rust-lld{binary_ext}", - "lib/rustlib/{target_triple}/lib/*{dylib_ext}", + "lib/rustlib/{target_triple}/lib/*{dylib_ext}*", ], allow_empty = True, ), @@ -193,7 +193,7 @@ rust_stdlib_filegroup( srcs = glob( [ "lib/rustlib/{target_triple}/lib/*.rlib", - "lib/rustlib/{target_triple}/lib/*{dylib_ext}", + "lib/rustlib/{target_triple}/lib/*{dylib_ext}*", "lib/rustlib/{target_triple}/lib/*{staticlib_ext}", "lib/rustlib/{target_triple}/lib/self-contained/**", ],