Crate mz_build_tools
source ·Expand description
Provides access to tools required in build scripts.
For example, many crates have a build script that depends on the Protobuf
compiler, protoc
. If we’re building with Cargo we’ll bootstrap protoc
by compiling it with [protobuf-src
], but if we’re building with Bazel
then we’ll use the version of protoc
included in the runfiles.
Functions§
- Returns if we’re currently building with Bazel.
- Returns the path to
protoc
. - Returns the path to the protobuf includes directory.