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

[FR]: Update bazelrc recommendations now that 'common' is fixed

Open alexeagle opened this issue 2 years ago • 1 comments

What is the current behavior?

Bazel 6.3.0 contains

Options specified on the pseudo-command common in .rc files are now ignored by commands that do not support them as long as they are valid options for any Bazel command. Previously, commands that did not support all options given for common would fail to run. These previous semantics of common are now available via the new always pseudo-command. (https://github.com/bazelbuild/bazel/pull/18609)

Describe the feature

This means we can use this rather than exhaustively specifying many flags under several commands like build, query, fetch

alexeagle avatar Jul 28 '23 14:07 alexeagle

Actually it's Bazel 6.4.0 where common now works with user-defined flags as well.

alexeagle avatar Oct 05 '23 15:10 alexeagle