Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 17, 2023
1 parent 5b90c0e commit e6d8c44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/imp/arm_linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn has_kuser_cmpxchg64() -> bool {
}
__kuser_helper_version() >= 5
}
#[inline]
#[inline(always)]
unsafe fn __kuser_cmpxchg64(old_val: *const u64, new_val: *const u64, ptr: *mut u64) -> bool {
// SAFETY: the caller must uphold the safety contract.
unsafe {
Expand All @@ -75,7 +75,7 @@ unsafe fn __kuser_cmpxchg64(old_val: *const u64, new_val: *const u64, ptr: *mut
}

// 64-bit atomic load by two 32-bit atomic loads.
#[inline]
#[inline(always)]
unsafe fn byte_wise_atomic_load(src: *const u64) -> u64 {
// SAFETY: the caller must uphold the safety contract.
unsafe {
Expand Down
2 changes: 1 addition & 1 deletion tools/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ target_upper="$(tr '[:lower:]' '[:upper:]' <<<"${target_lower}")"
randomize_layout=' -Z randomize-layout'
case "${target}" in
# TODO: LLVM bug: Undefined temporary symbol error when building std.
mips-unknown-linux-gnu | mipsel-unknown-linux-gnu | mips-unknown-linux-uclibc | mipsel-unknown-linux-uclibc | armv5te-unknown-linux-uclibceabi) release=(--release) ;;
mips-unknown-linux-gnu | mipsel-unknown-linux-gnu | mips-unknown-linux-uclibc | mipsel-unknown-linux-uclibc) release=(--release) ;;
esac

case "${cmd}" in
Expand Down

0 comments on commit e6d8c44

Please sign in to comment.