[−][src]Function humblegen::build
pub fn build<P: AsRef<Path>>(src: P) -> Result<(), LibError>
This method is intended for use form within a build.rs
file.
Builds the specified humblefile using the Rust builder
and writes the generated code to $OUT_DIR/protocol.rs
.
Outputs rerun-if-changed
instructions for the given src
path.