bazel-ios / rules_ios

Bazel rules for building iOS applications and frameworks
Apache License 2.0
276 stars 84 forks source link

Update: use `use_cpp_toolchain` for toolchains #845

Closed luispadron closed 5 months ago

luispadron commented 5 months ago

This updates our toolchains usage to match rules_apple and use the use_cpp_toolchains helper.

luispadron commented 5 months ago

This follows our supported Bazel versions guidelines, right?

It should, rules_apple uses this directly and they support the same minimum Bazel version as us (6.0)

luispadron commented 5 months ago

Confirmed use_cpp_toolchain was added in 5.1: https://blog.bazel.build/2022/03/24/bazel-5.1.html