Description of the problem / feature request:
print appears to behave differently between workspace rules and when used in a module.
When called from a workspace, the output of print is prefixed by a DEBUG statement, and then the path to the file, whereas this is missing when the same function is called from a module.
What's the output of bazel info release?
5.0.0rc3
Any other information, logs, or outputs that you want to share?
The way that print works when called from a workspace is nicer: it makes the output easy to identify and it's easy to grep for.
Description of the problem / feature request:
printappears to behave differently between workspace rules and when used in a module.When called from a workspace, the output of
printis prefixed by aDEBUGstatement, and then the path to the file, whereas this is missing when the same function is called from a module.What's the output of
bazel info release?5.0.0rc3
Any other information, logs, or outputs that you want to share?
The way that
printworks when called from a workspace is nicer: it makes the output easy to identify and it's easy to grep for.