Skip to content

Commit e03c7af

Browse files
committed
Fix typo in instruction name: s/cwp/swp/
1 parent 839b911 commit e03c7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ mod c {
538538
// Ideally, this would be a Vec of object files, but cc doesn't make it *entirely*
539539
// trivial to build an individual object.
540540
let mut atomics_libraries = Vec::new();
541-
for instruction_type in &["cas", "cwp", "ldadd", "ldclr", "ldeor", "ldset"] {
541+
for instruction_type in &["cas", "swp", "ldadd", "ldclr", "ldeor", "ldset"] {
542542
for size in &[1, 2, 4, 8, 16] {
543543
if *size == 16 && *instruction_type != "cas" {
544544
continue;

0 commit comments

Comments
 (0)