Skip to content

Commit 33b747d

Browse files
committed
Add compiler-rt fallbacks for sync builtins on armv5te-musl.
1 parent 7d5610a commit 33b747d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ mod c {
356356
}
357357
}
358358

359-
if llvm_target[0] == "armv7" {
359+
if matches!(llvm_target[0].as_str(), "armv5te", "armv7") {
360360
sources.extend(&[
361361
("__sync_fetch_and_add_4", "arm/sync_fetch_and_add_4.S"),
362362
("__sync_fetch_and_add_8", "arm/sync_fetch_and_add_8.S"),

0 commit comments

Comments
 (0)