You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the --incompatible_enable_cc_toolchain_resolution flag enabled Bazel supports platform based toolchain selection for the cc toolchain. However, ctx.attr._cc_toolchain points to the toolchain that is configured via the old --crosstool_top flag, even if cc toolchain resolution is enabled. We need to use find_cpp_toolchain instead to access the correct toolchain in this case.
With the
--incompatible_enable_cc_toolchain_resolution
flag enabled Bazel supports platform based toolchain selection for the cc toolchain. However,ctx.attr._cc_toolchain
points to the toolchain that is configured via the old--crosstool_top
flag, even if cc toolchain resolution is enabled. We need to usefind_cpp_toolchain
instead to access the correct toolchain in this case.This is blocked by bazelbuild/bazel#6874
This is related to the hermetic nixpkgs provided cc toolchain tweag/rules_nixpkgs#128
The text was updated successfully, but these errors were encountered: