bazelbuild / bazelbuild/bazel

Remove current_cc_toolchain and all uses

Open
#26,282 4 comments 0 reactions 1 assignee Claimed by @gregestren View on GitHub
P2 team-Configurability type: bug
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

The special cc toolchain alias `@bazel_tools//tools/cpp:current_cc_toolchain` is incorrect and unsafe, specifically in an environment with multiple execution platforms.

Please read [this document](https://docs.google.com/document/d/14vxMd3rTpzAwUI9ng1km1mp-7MrVeyGFnNbXKF_XhAM/edit?usp=sharing) for details.

Much of this work has already been completed inside google's monorepo, this is a tracking issue for public changes needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.