global_asm! errors are inconsistent with target features #113221
Labels
A-inline-assembly
Area: Inline assembly (`asm!(…)`)
A-target-feature
Area: Enabling/disabling target features like AVX, Neon, etc.
C-bug
Category: This is a bug.
global_asm!
prints errors about missing target features even when they are enabled. I think this is the same behavior as#50477.
In this case,
rustc
emits errors but doesn't abort and produces the correct, expected output file.For comparison, here's the same situation with
asm!
instead:rustc
prints errors about the missing feature and aborts (generating no output file)rustc
produces the correct, expected output fileThe text was updated successfully, but these errors were encountered: