Skip to content

Commit

Permalink
Add feature for module_extension's {os,arch}_dependent (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum authored Sep 19, 2023
1 parent 69605e7 commit 541c6ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ _external_deps = struct(
# Whether --enable_bzlmod is set, and thus, whether str(Label(...)) produces canonical label
# literals (i.e., "@@repo//pkg:file").
is_bzlmod_enabled = str(Label("//:invalid")).startswith("@@"),
# Whether module_extension has the os_dependent and arch_dependent parameters.
# https://github.com/bazelbuild/bazel/commit/970b9dda7cd215a29d73a53871500bc4e2dc6142
module_extension_has_os_arch_dependent = ge("6.4.0"),
)

_flags = struct(
Expand Down

0 comments on commit 541c6ac

Please sign in to comment.