bazel-skylib icon indicating copy to clipboard operation
bazel-skylib copied to clipboard

Negation support

Open leovitch opened this issue 3 years ago • 3 comments

This PR adds the ability to negate individual elements of a config_settings_group(), so that you can construct groups that evaluate conditions like "match config_setting 1 and do not match config_setting 2." This is very helpful when making sure that the list of conditions in a select match once and only once.

leovitch avatar Nov 15 '22 00:11 leovitch

FWIW the failure with bzlmod looks similar to the failure discussed on https://github.com/bazelbuild/bazel-skylib/pull/411 where fmeum wrote: @shs96c That's probably on me: https://github.com/bazelbuild/bazel/commit/839ce7f5c40240d8b6f49c416c3769e226f43fee

leovitch avatar Nov 15 '22 00:11 leovitch

@leovitch These failures should be fixed by https://github.com/bazelbuild/bazel/pull/16755. Once it has been merged, you can do a trivial amend of your commits and force push to trigger a rerun of the pipeline.

fmeum avatar Nov 15 '22 01:11 fmeum

Thanks for the note Fabian!

leovitch avatar Nov 15 '22 17:11 leovitch