fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
11343929
cleanup
1# Required on windows 2startup --windows_enable_symlinks 3build:windows --enable_runfiles 4 5# This isn't currently the defaut in Bazel, but we enable it to test we'll be ready if/when it flips. 6build --incompatible_disallow_empty_glob 7 8# Required for cargo_build_script support before Bazel 7 9build --incompatible_merge_fixed_and_default_shell_env 10 11## Cross compilation configuration 12# Debug toolchain resolution 13# build --toolchain_resolution_debug='@bazel_tools//tools/cpp:toolchain_type 14 15# Required to support cross compilation from different host systems i.e Mac and Linux 16# https://bazel.build/reference/command-line-reference#flag--enable_platform_specific_config 17common --enable_platform_specific_config 18 19# Required to resolve C/C++ toolchain. 20# https://github.com/bazel-contrib/musl-toolchain?tab=readme-ov-file#setup 21build --incompatible_enable_cc_toolchain_resolution