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