refactor: simplify `shadow-rs` setup in `build.rs` (#5209)

Update build.rs
This commit is contained in:
baoyachi. Aka Rust Hairy crabs 2023-06-02 03:18:12 +08:00 committed by GitHub
parent d2c336cc07
commit 2e8b51c5e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -4,7 +4,6 @@ use std::io::Write;
use shadow_rs::SdResult; use shadow_rs::SdResult;
fn main() -> SdResult<()> { fn main() -> SdResult<()> {
shadow_rs::new().map_err(|err| err.to_string())?;
shadow_rs::new_hook(gen_presets_hook)?; shadow_rs::new_hook(gen_presets_hook)?;
#[cfg(windows)] #[cfg(windows)]