about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-12-30 16:28:53 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-12-30 16:41:11 +0100
commita2c5d29fc95c23be146ddb3858ecef2c2ce0eecc (patch)
treeceb36c152f5e9b68d6f2aa68cb5bc3f8b59febf9
parent31482a94a0694f829023e31471d53e3821ccabf5 (diff)
downloadrust-a2c5d29fc95c23be146ddb3858ecef2c2ce0eecc.tar.gz
rust-a2c5d29fc95c23be146ddb3858ecef2c2ce0eecc.zip
Add missing feature gate
-rw-r--r--tests/run/asm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run/asm.rs b/tests/run/asm.rs
index 9a24915edcd..46abbb553bf 100644
--- a/tests/run/asm.rs
+++ b/tests/run/asm.rs
@@ -3,6 +3,8 @@
 // Run-time:
 //   status: 0
 
+#![feature(asm_const, asm_sym)]
+
 use std::arch::{asm, global_asm};
 
 global_asm!("