Skip to content

Commit a4805de

Browse files
committed
Allow binary_asm_labels in the aarch64 module
LLVM only flags these as problematic on x86, but Rust has started flagging them on all platforms. We shouldn't need to worry about anything here.
1 parent 06db2de commit a4805de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aarch64_linux.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
//! The original `lse.S` has some truly horrifying code that expects to be compiled multiple times with different constants.
2424
//! We do something similar, but with macro arguments.
2525
#![cfg_attr(feature = "c", allow(unused_macros))] // avoid putting the macros into a submodule
26+
#![allow(binary_asm_labels)] // `0:` and `1:` labels are not a problem on Arm
2627

2728
// We don't do runtime dispatch so we don't have to worry about the `__aarch64_have_lse_atomics` global ctor.
2829

0 commit comments

Comments
 (0)