Skip to content

Commit

Permalink
Add atomic lib
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Jul 23, 2023
1 parent 1996d18 commit 0bfc809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,8 @@ impl Artifacts {
println!("cargo:lib={}", self.lib_dir.display());
if self.target.contains("msvc") {
println!("cargo:rustc-link-lib=user32");
} else if self.target == "arm-unknown-linux-gnueabihf" {
println!("cargo:rustc-link-lib=dylib=atomic");
} else if self.target == "wasm32-wasi" {
println!("cargo:rustc-link-lib=wasi-emulated-signal");
println!("cargo:rustc-link-lib=wasi-emulated-process-clocks");
Expand Down

0 comments on commit 0bfc809

Please sign in to comment.