For example:
#[cfg(target_arch = "x86")]
fn foo() {
unsafe { asm!("0: jmp 0b") };
}
This currently raises binary_asm_labels only if targeting x86. Ideally we would be able to raise the lint regardless of what the current target is.
Requested in #127821 and #127935
For example:
This currently raises
binary_asm_labelsonly if targeting x86. Ideally we would be able to raise the lint regardless of what the current target is.Requested in #127821 and #127935