From 2e8b51c5e8e712b9577bc924ff6717880863d17d Mon Sep 17 00:00:00 2001 From: "baoyachi. Aka Rust Hairy crabs" Date: Fri, 2 Jun 2023 03:18:12 +0800 Subject: [PATCH] refactor: simplify `shadow-rs` setup in `build.rs` (#5209) Update build.rs --- build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/build.rs b/build.rs index f42c5d56..1d2f4c59 100644 --- a/build.rs +++ b/build.rs @@ -4,7 +4,6 @@ use std::io::Write; use shadow_rs::SdResult; fn main() -> SdResult<()> { - shadow_rs::new().map_err(|err| err.to_string())?; shadow_rs::new_hook(gen_presets_hook)?; #[cfg(windows)]