use std::error::Error; use vergen::EmitBuilder; fn main() -> Result<(), Box> { println!("cargo:rerun-if-changed=build.rs"); // Emit the instructions EmitBuilder::builder().all_build().all_cargo().emit()?; Ok(()) }