chore: remove redundant unix check in build wrapper

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I174857e67f2e400d5dfdd8bfbe7c681d6a6a6964
This commit is contained in:
raf 2025-10-25 09:01:35 +03:00
commit e94d931e67
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -5,16 +5,6 @@ const MULTICALL_LINKS: &[&str] =
&["stash-copy", "stash-paste", "wl-copy", "wl-paste"];
fn main() {
// Only run on Unix-like systems
#[cfg(not(unix))]
{
println!(
"cargo:warning=Multicall symlinks are only supported on Unix-like \
systems."
);
return;
}
// OUT_DIR is something like .../target/debug/build/<pkg>/out
// We want .../target/debug or .../target/release
let out_dir = env::var("OUT_DIR").expect("OUT_DIR not set");