Skip to content

Commit 2f5fad3

Browse files
author
Ewan
committed
remove dependency from cargo.toml
1 parent 001deec commit 2f5fad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jemallocator/jemalloc-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ fn main() {
9191
println!("cargo:rustc-cfg=prefixed");
9292
}
9393

94+
println!("cargo:rustc-link-lib={}={}", "dylib", "preload_syscallee");
9495
if let Some(jemalloc) = env::var_os("JEMALLOC_OVERRIDE") {
9596
info!("jemalloc override set");
9697
let jemalloc = PathBuf::from(jemalloc);
@@ -111,7 +112,6 @@ fn main() {
111112
"dylib"
112113
};
113114
println!("cargo:rustc-link-lib={}={}", kind, &stem[3..]);
114-
println!("cargo:rustc-link-lib={}={}", "dylib", "preload_syscallee");
115115
return;
116116
}
117117
// Disable -Wextra warnings - jemalloc doesn't compile free of warnings with

0 commit comments

Comments
 (0)