bazelbuild / bazelbuild/bazel

[bazel.build] Problem with /tutorials/ccp-toolchain-config

Open
#17,500 0 comments 0 reactions 0 assignees View on GitHub
P2 team-Documentation team-Rules-CPP type: documentation (cleanup)
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Page link:

https://bazel.build/tutorials/ccp-toolchain-config

### Problem description (include actual vs expected text, if applicable):

The article discusses how to use `cc_toolchain_suite`, but IIUC `register_toolchains` is the new way to to specify it (https://stackoverflow.com/questions/58291691/what-is-the-difference-between-cc-toolchain-suite-and-register-toolchains).

While perhaps reasonable to still have a tutorial of the old way, seems worth having a tutorial in the new method to encourage adoption.

### Where do you see this issue? (include link to specific section of the page, if applicable)

_No response_

### Any other information you'd like to share?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked https://bazel.build/tutorials/ccp-toolchain-config page and compare its cc_toolchain_suite instructions with the register_toolchains approach described in the issue. Done means the documentation explains the newer method clearly, while preserving or intentionally replacing the existing tutorial guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.