Bazel 202: Macros and rules
Actions spawn Tools
Learn the constraints Bazel imposes on tools spawned by actions - PATH, working directory, read-only inputs, and symlink handling for hermetic builds.
Sometimes you want to write your own tool, or adapt an existing one by changing the CLI entry point and then calling into the tool’s logic as a library.

