bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
23.14k stars 4.05k forks source link

Update ccp-toolchain-config tutorial to reflect documentation changes from #19353 #22842

Open hypdeb opened 4 months ago

hypdeb commented 4 months ago

Page link:

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

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

I'm not sure about what to expect exactly because I'm learning how to use the feature by following the tutorial in question.

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

It seems the cc toolchain documentation should be updated. A lot of the parameters it suggests to add to create_cc_toolchain_config_info are documented as ignored or deprecated, I'm guessing following the completion of #19353.

Any other information you'd like to share?

No response

hypdeb commented 4 months ago

Looking a bit further, it seems tool_path is also deprecated, while it is what the tutorial advises you to use.