Add riscv64gc-unknown-freebsd
This commit is contained in:
parent
3e018ce194
commit
47474f1055
7 changed files with 27 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue