diff --git a/build.rs b/build.rs index ae8b0d59..540ee0b6 100644 --- a/build.rs +++ b/build.rs @@ -1,7 +1,7 @@ -use shadow_rs::SdResult; +use shadow_rs::ShadowBuilder; -fn main() -> SdResult<()> { +fn main() { println!("cargo:rerun-if-changed=.git/HEAD"); println!("cargo:rerun-if-changed=.git/refs/heads"); - shadow_rs::new() + ShadowBuilder::builder().build().unwrap(); }