xref: /aosp_15_r20/external/bazelbuild-rules_rust/examples/ios_build/.bazelrc (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1# Required on windows
2common --enable_platform_specific_config
3startup --windows_enable_symlinks
4build:windows --enable_runfiles
5
6# Enable CC toolchain that supports iOS from https://github.com/bazelbuild/apple_support
7build --apple_crosstool_top=@local_config_apple_cc//:toolchain
8build --crosstool_top=@local_config_apple_cc//:toolchain
9build --host_crosstool_top=@local_config_apple_cc//:toolchain
10
11# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
12# https://github.com/bazelbuild/rules_rust/issues/2181
13common --noenable_bzlmod
14
15# This isn't currently the defaut in Bazel, but we enable it to test we'll be ready if/when it flips.
16build --incompatible_disallow_empty_glob
17