1
Fork 0

Add riscv64gc-unknown-freebsd

This commit is contained in:
Tobias Kortkamp 2021-11-27 07:23:55 +01:00
parent 3e018ce194
commit 47474f1055
No known key found for this signature in database
GPG key ID: F4815C5F893E655D
7 changed files with 27 additions and 5 deletions

View file

@ -277,7 +277,7 @@ fn main() {
};
// RISC-V requires libatomic for sub-word atomic operations
if target.starts_with("riscv") {
if !target.contains("freebsd") && target.starts_with("riscv") {
println!("cargo:rustc-link-lib=atomic");
}