Skip to content

Commit e89f1c9

Browse files
committed
allow empty dll glob
1 parent 27732f6 commit e89f1c9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

python/private/hermetic_runtime_repo_setup.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@ def define_hermetic_runtime_toolchain_impl(
242242
}),
243243
# On Windows, a symlink-style venv requires supporting .dll files.
244244
venv_bin_files = select({
245-
"@platforms//os:windows": native.glob(include=["*.dll", "*.pdb"]),
245+
"@platforms//os:windows": native.glob(
246+
include=["*.dll", "*.pdb"],
247+
allow_empty=True,
248+
),
246249
"//conditions:default": [],
247250
})
248251
)

0 commit comments

Comments
 (0)