We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am new to Bazel and I am going thru the tutorial.
I see that almost all BUILD files added a line of load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library"). I wonder what is the reason?
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
Build will fail with this line added but succeed without this line. Bazel version # is 0.26.0.
It seems to me that the BUILD file will explicitly load the rule_cc, is this required by newer version of Bazel?
rule_cc
The text was updated successfully, but these errors were encountered:
Yup this is because of incoming incompatible change bazelbuild/bazel#8743.
Right now Bazel works both ways so people can forward-migrate. Eventually when the flag is flipped load statements will be required.
Sorry, something went wrong.
mark
hlopko
No branches or pull requests
I am new to Bazel and I am going thru the tutorial.
I see that almost all BUILD files added a line of
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
. I wonder what is the reason?Build will fail with this line added but succeed without this line. Bazel version # is 0.26.0.
It seems to me that the BUILD file will explicitly load the
rule_cc
, is this required by newer version of Bazel?The text was updated successfully, but these errors were encountered: