1
Fork 0

Update compiletest's has_asm_support to match rustc

The list of `ASM_SUPPORTED_ARCHS` was missing a few from the compiler's
actual stable list.
This commit is contained in:
Josh Stone 2025-03-11 13:48:08 -07:00
parent 9fb94b32df
commit 576bcfcd4e
2 changed files with 10 additions and 1 deletions

View file

@ -38,6 +38,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
}
if let Some(asm_arch) = asm_arch {
// Inline assembly is currently only stable for these architectures.
// (See also compiletest's `has_asm_support`.)
let is_stable = matches!(
asm_arch,
asm::InlineAsmArch::X86