Skip to content

Commit 9a9942c

Browse files
committed
add arm llvm requirement
1 parent 61edfd5 commit 9a9942c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/test/ui/asm/inline-syntax.arm.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: att syntax is the default syntax on this target, and trying to use this directive may cause issues
2-
--> $DIR/inline-syntax.rs:22:15
2+
--> $DIR/inline-syntax.rs:23:15
33
|
44
LL | asm!(".att_syntax noprefix", "nop");
55
| ^^^^^^^^^^^^^^^^^^^^ help: remove this assembler directive
66

77
error: att syntax is the default syntax on this target, and trying to use this directive may cause issues
8-
--> $DIR/inline-syntax.rs:25:15
8+
--> $DIR/inline-syntax.rs:26:15
99
|
1010
LL | asm!(".att_syntax bbb noprefix", "nop");
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this assembler directive

src/test/ui/asm/inline-syntax.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// needs-llvm-components: arm
12
// revisions: x86_64 arm
23
//[x86_64] compile-flags: --target x86_64-unknown-linux-gnu
34
//[arm] compile-flags: --target armv7-unknown-linux-gnueabihf

src/test/ui/asm/inline-syntax.x86_64.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
error: intel syntax is the default syntax on this target, and trying to use this directive may cause issues
2-
--> $DIR/inline-syntax.rs:18:15
2+
--> $DIR/inline-syntax.rs:19:15
33
|
44
LL | asm!(".intel_syntax noprefix", "nop");
55
| ^^^^^^^^^^^^^^^^^^^^^^ help: remove this assembler directive
66

77
error: intel syntax is the default syntax on this target, and trying to use this directive may cause issues
8-
--> $DIR/inline-syntax.rs:20:15
8+
--> $DIR/inline-syntax.rs:21:15
99
|
1010
LL | asm!(".intel_syntax aaa noprefix", "nop");
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this assembler directive
1212

1313
error: using the .att_syntax directive may cause issues, use the att_syntax option instead
14-
--> $DIR/inline-syntax.rs:22:15
14+
--> $DIR/inline-syntax.rs:23:15
1515
|
1616
LL | asm!(".att_syntax noprefix", "nop");
1717
| ^^^^^^^^^^^^^^^^^^^^
@@ -22,7 +22,7 @@ LL | asm!("", "nop", options(att_syntax));
2222
| -- ^^^^^^^^^^^^^^^^^^^^^
2323

2424
error: using the .att_syntax directive may cause issues, use the att_syntax option instead
25-
--> $DIR/inline-syntax.rs:25:15
25+
--> $DIR/inline-syntax.rs:26:15
2626
|
2727
LL | asm!(".att_syntax bbb noprefix", "nop");
2828
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -33,13 +33,13 @@ LL | asm!("", "nop", options(att_syntax));
3333
| -- ^^^^^^^^^^^^^^^^^^^^^
3434

3535
error: intel syntax is the default syntax on this target, and trying to use this directive may cause issues
36-
--> $DIR/inline-syntax.rs:28:15
36+
--> $DIR/inline-syntax.rs:29:15
3737
|
3838
LL | asm!(".intel_syntax noprefix; nop");
3939
| ^^^^^^^^^^^^^^^^^^^^^^ help: remove this assembler directive
4040

4141
error: intel syntax is the default syntax on this target, and trying to use this directive may cause issues
42-
--> $DIR/inline-syntax.rs:33:14
42+
--> $DIR/inline-syntax.rs:34:14
4343
|
4444
LL | .intel_syntax noprefix
4545
| ______________^

0 commit comments

Comments
 (0)