bazelbuild / bazelbuild/bazel

Documentation issue: Configuring C toolchains

Open
#12,856 3 comments 0 reactions 0 assignees View on GitHub
help wanted P3 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

Documentation URL: https://docs.bazel.build/versions/master/tutorial/cc-toolchain-config.html

Following these steps for my project, I get the error:
missing input file '//toolchain:empty'

I should probably try for the tutorial file, but first I wanted to ask if you could also put the final BUILD/bzl files in the docs. It's more error prone because of the rewriting steps and it would be nice to have a correct reference at the end.

Contributor guide

Open the contributing guide

Research direction

Start with the linked C++ toolchain configuration tutorial and reproduce the missing input file error while following its rewriting steps. Update the tutorial to include the final BUILD and .bzl files, and verify that the documented steps no longer produce the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.