blob: 5aa22c8ed235780c05515903fa8119d0e5e2465d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
### What it does
Checks for usage of Intel x86 assembly syntax.
### Why is this bad?
The lint has been enabled to indicate a preference
for AT&T x86 assembly syntax.
### Example
```
asm!("lea {}, [{}]", lateout(reg) _, in(reg) ptr);
```
Use instead:
```
asm!("lea ({}), {}", in(reg) ptr, lateout(reg) _, options(att_syntax));
```
|