build: Disable experimental_exclude_starlark_flags_from_exec_config

Change-Id: I698ce24406c6ab82654972f796d36819bdbd4bcc
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/maize/+/260332
Commit-Queue: Erik Gilling <konkers@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/.bazelrc b/.bazelrc
index b5bd8a6..50c329a 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -40,7 +40,11 @@
 # cache invalidated when your host C++ config changes, causing many rebuilds
 # of protoc (https://pwbug.dev/315871648).
 common --experimental_exclude_defines_from_exec_config
-common --experimental_exclude_starlark_flags_from_exec_config
+
+# TODO: https://github.com/bazelbuild/bazel/issues/22457 - This option breaks
+# being able to select the nightly toolchian for the exec config.
+# See above for why it's enabled in Pigweed.
+# common --experimental_exclude_starlark_flags_from_exec_config
 
 # Enforces consistent action environment variables. This is important to
 # address Protobuf's rebuild sensitivity on changes to the environment
@@ -78,7 +82,7 @@
 build:lint --output_groups=+rustfmt_checks
 
 # TODO - konkers: fix upstream stable toolchains
-common --@@rules_rust+//rust/toolchain/channel=nightly
+common --@rules_rust//rust/toolchain/channel=nightly
 
 common --@pigweed//pw_log/rust:pw_log_backend=//subsys/console:pw_log_backend