Skip to content

Commit 9351834

Browse files
authored
Disable --incompatible_autoload_externally= as it's unusable in Bazel8 (#3214)
bazelbuild/bazel#24871 will need to be addressed somehow where unnecessary "built-ins" are either not forcibly pulled in or all built-ins conform to this flag.
1 parent 058a8d5 commit 9351834

File tree

21 files changed

+42
-21
lines changed

21 files changed

+42
-21
lines changed

examples/all_crate_deps/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ build --incompatible_disallow_empty_glob
1212
build --incompatible_merge_fixed_and_default_shell_env
1313

1414
# https://github.com/bazelbuild/bazel/issues/23043.
15-
build --incompatible_autoload_externally=
15+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
16+
# build --incompatible_autoload_externally=

examples/all_deps_vendor/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
###############################################################################
5152
## Rust configuration

examples/bazel_env/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ build --nolegacy_external_runfiles
3434
build --incompatible_merge_fixed_and_default_shell_env
3535

3636
# https://github.com/bazelbuild/bazel/issues/23043.
37-
build --incompatible_autoload_externally=
37+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
38+
# build --incompatible_autoload_externally=
3839

3940
###############################################################################
4041
## Bzlmod

examples/compile_opt/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ build --incompatible_disallow_empty_glob
1010
build --incompatible_merge_fixed_and_default_shell_env
1111

1212
# https://github.com/bazelbuild/bazel/issues/23043.
13-
build --incompatible_autoload_externally=
13+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
14+
# build --incompatible_autoload_externally=
1415

1516
# in optimized build we will use thin lto
1617
common:opt -c opt

examples/crate_universe/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ build --nolegacy_external_runfiles
2727
build --incompatible_merge_fixed_and_default_shell_env
2828

2929
# https://github.com/bazelbuild/bazel/issues/23043.
30-
build --incompatible_autoload_externally=
30+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
31+
# build --incompatible_autoload_externally=
3132

3233
###############################################################################
3334
## Bzlmod

examples/crate_universe_local_path/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

examples/cross_compile/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
###############################################################################
5152
## Rust configuration

examples/hello_world/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ build --nolegacy_external_runfiles
4242
build --incompatible_merge_fixed_and_default_shell_env
4343

4444
# https://github.com/bazelbuild/bazel/issues/23043.
45-
build --incompatible_autoload_externally=
45+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
46+
# build --incompatible_autoload_externally=
4647

4748
###############################################################################
4849
## Rust configuration

examples/hello_world_no_cargo/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
###############################################################################
5152
## Rust configuration

examples/musl_cross_compiling/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

examples/nix_cross_compiling/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ build --nolegacy_external_runfiles
7373
build --incompatible_merge_fixed_and_default_shell_env
7474

7575
# https://github.com/bazelbuild/bazel/issues/23043.
76-
build --incompatible_autoload_externally=
76+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
77+
# build --incompatible_autoload_externally=
7778

7879
###############################################################################
7980
## Bzlmod

examples/override_target/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ build --incompatible_disallow_empty_glob
1212
build --incompatible_merge_fixed_and_default_shell_env
1313

1414
# https://github.com/bazelbuild/bazel/issues/23043.
15-
build --incompatible_autoload_externally=
15+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
16+
# build --incompatible_autoload_externally=

examples/proto/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
common --incompatible_enable_proto_toolchain_resolution
5152

examples/proto_with_toolchain/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
common --incompatible_enable_proto_toolchain_resolution
5152

examples/sys/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ build --nolegacy_external_runfiles
4545
build --incompatible_merge_fixed_and_default_shell_env
4646

4747
# https://github.com/bazelbuild/bazel/issues/23043.
48-
build --incompatible_autoload_externally=
48+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
49+
# build --incompatible_autoload_externally=
4950

5051
###############################################################################
5152
## Rust configuration

extensions/bindgen/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

extensions/mdbook/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

extensions/prost/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

extensions/protobuf/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ build --nolegacy_external_runfiles
6161
build --incompatible_merge_fixed_and_default_shell_env
6262

6363
# https://github.com/bazelbuild/bazel/issues/23043.
64-
build --incompatible_autoload_externally=
64+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
65+
# build --incompatible_autoload_externally=
6566

6667
###############################################################################
6768
## Bzlmod

extensions/wasm_bindgen/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

test/no_std/.bazelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ build --nolegacy_external_runfiles
5757
build --incompatible_merge_fixed_and_default_shell_env
5858

5959
# https://github.com/bazelbuild/bazel/issues/23043.
60-
build --incompatible_autoload_externally=
60+
# TODO: Re-enable after https://github.com/bazelbuild/bazel/issues/24871 is addressed
61+
# build --incompatible_autoload_externally=
6162

6263
###############################################################################
6364
## Bzlmod

0 commit comments

Comments
 (0)