Skip to content

Remove current_cc_toolchain and all uses #26282

@katre

Description

@katre

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 for details.

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

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionstype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions