Skip to content

Commit d435dd2

Browse files
authored
fix(bazel): expose codspeed_mode flag
My root module depends transitively on codspeed through an intermediary. It does not depend on it directly with a `bazel_dep` in MODULE.bazel. Thus I cannot set `--@codspeed//core:codspeed_mode` on my command line - in bzlmod that's a strict visibility violation. The intermediary should provide an alias to set the mode. This requires the flag to be public.
1 parent 7c2430e commit d435dd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ string_flag(
6767
"instrumentation",
6868
"walltime",
6969
],
70+
visibility = ["//visibility:public"],
7071
)
7172

7273
config_setting(

0 commit comments

Comments
 (0)