about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-03-11 13:48:08 -0700
committerJosh Stone <jistone@redhat.com>2025-03-11 15:42:33 -0700
commit576bcfcd4e094fa59aff6efe8c27c871a135c805 (patch)
treec020bdd14f72015a47efa00429cb8bee1459fdc4 /compiler/rustc_ast_lowering/src
parent9fb94b32df38073bf63d009df77ed10cb1c989d0 (diff)
downloadrust-576bcfcd4e094fa59aff6efe8c27c871a135c805.tar.gz
rust-576bcfcd4e094fa59aff6efe8c27c871a135c805.zip
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.
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/asm.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/asm.rs b/compiler/rustc_ast_lowering/src/asm.rs
index 87af7959a88..65784af92c7 100644
--- a/compiler/rustc_ast_lowering/src/asm.rs
+++ b/compiler/rustc_ast_lowering/src/asm.rs
@@ -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