You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently following this tutorial https://bazel.build/versions/6.5.0/tutorials/ccp-toolchain-config. At the end of step 6 we add cc_toolchain_config(name = "k8_toolchain_config") to our toolchain/BUILD.bazel. But when I run bazel build ... i got this error:
name 'cc_toolchain_config' is not defined
For information I am on NixOS and I run this version of bazel:
❯ bazel --version
bazel 6.5.0- (@non-git)
Does anyone have an idea of why my bazel install cannot find this rule?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently following this tutorial https://bazel.build/versions/6.5.0/tutorials/ccp-toolchain-config. At the end of step 6 we add
cc_toolchain_config(name = "k8_toolchain_config")
to ourtoolchain/BUILD.bazel
. But when I runbazel build ...
i got this error:For information I am on NixOS and I run this version of bazel:
Does anyone have an idea of why my bazel install cannot find this rule?
Beta Was this translation helpful? Give feedback.
All reactions