about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-09 08:52:46 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-09 08:52:46 +0000
commit169055f2ffef79b453e0d89599d0f0c5dabc0adb (patch)
tree15ecc83830f64dd098939b8000c60607c9d61e86 /compiler/rustc_codegen_cranelift/example
parent093b9d5b295d85e144d0ee7da65ea03987214c06 (diff)
parent81dc066758ec150b43822d4a0c84aae20fe10f40 (diff)
downloadrust-169055f2ffef79b453e0d89599d0f0c5dabc0adb.tar.gz
rust-169055f2ffef79b453e0d89599d0f0c5dabc0adb.zip
Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into sync_cg_clif-2023-10-09
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example')
-rw-r--r--compiler/rustc_codegen_cranelift/example/mini_core.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/mini_core.rs b/compiler/rustc_codegen_cranelift/example/mini_core.rs
index 34c7e44b288..934e4b1786f 100644
--- a/compiler/rustc_codegen_cranelift/example/mini_core.rs
+++ b/compiler/rustc_codegen_cranelift/example/mini_core.rs
@@ -685,6 +685,12 @@ pub macro cfg() {
 
 #[rustc_builtin_macro]
 #[rustc_macro_transparency = "semitransparent"]
+pub macro asm() {
+    /* compiler built-in */
+}
+
+#[rustc_builtin_macro]
+#[rustc_macro_transparency = "semitransparent"]
 pub macro global_asm() {
     /* compiler built-in */
 }