| # This isn't currently the defaut in Bazel, but we enable it to test we'll be ready if/when it flips. | |
| build --incompatible_disallow_empty_glob | |
| # Required for cargo_build_script support before Bazel 7 | |
| build --incompatible_merge_fixed_and_default_shell_env | |
| # https://github.com/bazelbuild/bazel/issues/23043. | |
| build --incompatible_autoload_externally= | |
| # in optimized build we will use thin lto | |
| common:opt -c opt | |
| common:opt --@rules_rust//rust/settings:lto=thin |