blob: c098d0c392e9f1b2cf75d8e1dbaa32b0aeb32a2b [file]
common --deleted_packages=examples/bzlmod_build_file_generation
common --deleted_packages=examples/bzlmod_build_file_generation/runfiles
common --experimental_downloader_config=downloader_config.cfg
common --http_timeout_scaling=10.0
common --experimental_repository_downloader_retries=10
test --test_output=errors
# Do NOT implicitly create empty __init__.py files in the runfiles tree.
# By default, these are created in every directory containing Python source code
# or shared libraries, and every parent directory of those directories,
# excluding the repo root directory. With this flag set, we are responsible for
# creating (possibly empty) __init__.py files and adding them to the srcs of
# Python targets as required.
build --incompatible_default_to_explicit_init_py
build --@rules_python//python/config_settings:incompatible_default_to_explicit_init_py=True
# Windows makes use of runfiles for some rules
build --enable_runfiles
# Bazel 10 enables --incompatible_no_implicit_file_export by default, which
# breaks @io_bazel_rules_go//go/private:context: its bzl_library depends on
# @bazel_tools//tools/cpp:toolchain_utils.bzl, which bazel_tools doesn't
# export. rules_go v0.61.0+ drops that dep; remove this once rules_go is
# upgraded.
common --noincompatible_no_implicit_file_export
common:bazel7.x --incompatible_python_disallow_native_rules