about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2024-11-24 17:37:25 -0800
committerEric Huss <eric@huss.org>2024-11-27 07:18:25 -0800
commitf94142b366f9bc57c15e9ac274f83d0f9c03ffac (patch)
treee1f4e41efc3307e29c6098985f225f0522044dca /tests/codegen
parentf592dd95dbfc892c1153af67e0ab5b4e593d33e7 (diff)
downloadrust-f94142b366f9bc57c15e9ac274f83d0f9c03ffac.tar.gz
rust-f94142b366f9bc57c15e9ac274f83d0f9c03ffac.zip
Update tests to use new proc-macro header
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs4
-rw-r--r--tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs2
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs b/tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs
index 159ecfd0974..c0691b23275 100644
--- a/tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs
+++ b/tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs
@@ -1,7 +1,3 @@
-//@ force-host
-//@ no-prefer-dynamic
-#![crate_type = "proc-macro"]
-
 extern crate proc_macro;
 use proc_macro::*;
 
diff --git a/tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs b/tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs
index c3858044c0c..0f6e99f9b1e 100644
--- a/tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs
+++ b/tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs
@@ -3,7 +3,7 @@
 // MSVC is different because of the individual allocas.
 //@ ignore-msvc
 
-//@ aux-build:macro_def.rs
+//@ proc-macro: macro_def.rs
 
 // Find the variable.
 // CHECK-DAG: ![[#var_dbg:]] = !DILocalVariable(name: "n",{{( arg: 1,)?}} scope: ![[#var_scope:]]