bazel build --config cxx20 --config opts ...
I want to default to --config cxx20 --config opts. However I cannot change .bazelrc because other users use different configs. Is there a environment variable for config like BAZEL_CXXOPTS?
export BAZEL_???="--config cxx20 --config opts"
The usual solution for this is to create a
.bazelrc.userfile and add a linetry-import %workspace%/.bazelrc.userto your.bazelrcfile.