Skip to content

Commit f62bba3

Browse files
authored
Rollup merge of rust-lang#97920 - bjorn3:test_annotation_fixes, r=Dylan-DPC
Fix some test annotations These are necessary for running the rustc test suite with cg_clif.
2 parents 98af36a + 2f47edb commit f62bba3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/test/ui/asm/x86_64/issue-82869.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// needs-asm-support
12
// only-x86_64
23
// Make sure rustc doesn't ICE on asm! for a foreign architecture.
34

src/test/ui/asm/x86_64/issue-82869.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
error: invalid register class `vreg`: unknown register class
2-
--> $DIR/issue-82869.rs:10:32
2+
--> $DIR/issue-82869.rs:11:32
33
|
44
LL | asm!("add {:d}, {:d}, d0", out(vreg) c, in(vreg) a, in("d0") {
55
| ^^^^^^^^^^^
66

77
error: invalid register class `vreg`: unknown register class
8-
--> $DIR/issue-82869.rs:10:45
8+
--> $DIR/issue-82869.rs:11:45
99
|
1010
LL | asm!("add {:d}, {:d}, d0", out(vreg) c, in(vreg) a, in("d0") {
1111
| ^^^^^^^^^^
1212

1313
error: invalid register `d0`: unknown register
14-
--> $DIR/issue-82869.rs:10:57
14+
--> $DIR/issue-82869.rs:11:57
1515
|
1616
LL | asm!("add {:d}, {:d}, d0", out(vreg) c, in(vreg) a, in("d0") {
1717
| _________________________________________________________^

src/test/ui/drop/repeat-drop.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// run-pass
2+
// needs-unwind
23
// ignore-wasm32-bare no unwinding panic
34
// ignore-avr no unwinding panic
45
// ignore-nvptx64 no unwinding panic

0 commit comments

Comments
 (0)