Skip to content

Commit

Permalink
Update build.rs modify atomic unix lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancinsight authored Dec 3, 2024
1 parent f1e1835 commit 9ca0c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ fn configure_linking(config: &BuildConfig, dst: Option<&std::path::PathBuf>) {
}

// Linux specific handling
if config.is_linux() | config.is_unix() {
if config.is_linux() {
println!("cargo:rustc-link-lib=atomic");
println!("cargo:rustc-link-lib=stdc++");
println!("cargo:rustc-link-lib=pthread");
Expand Down

0 comments on commit 9ca0c82

Please sign in to comment.