//! Build script for zlayer-builder.
//!
//! Compiles the buildah-sidecar gRPC schema at
//! `<CARGO_MANIFEST_DIR>/proto/buildah_sidecar.proto` into
//! `${OUT_DIR}/zlayer.buildah_sidecar.v1.rs`, which the crate `include!`s
//! from `backend/buildah_sidecar/mod.rs`.
//!
//! The proto lives INSIDE the crate (not at the workspace root) so the
//! crate stays self-contained when consumed as a git or registry dep
//! (and so `cargo vendor` and `cargo package` carry it along). Older
//! revs of this crate sourced the proto from `../../proto/`, which only
//! resolved correctly inside a live `ZLayer` workspace checkout — vendor
//! / publish consumers got a "No such file or directory" build failure.
use PathBuf;