mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-12 14:07:42 +00:00
chore: remove redundant unix check in build wrapper
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I174857e67f2e400d5dfdd8bfbe7c681d6a6a6964
This commit is contained in:
parent
955a5d51f8
commit
e94d931e67
1 changed files with 0 additions and 10 deletions
10
build.rs
10
build.rs
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue