cannot find macro `llvm_asm`
Closed this issue · 1 comments
hyousefGopher commented
Hi,
In my Win 10 machine, I got the below error, thanks for your support:
error: cannot find macro `llvm_asm` in this scope
--> C:\Users\Yara Yousef\.cargo\registry\src\github.com-1ecc6299db9ec823\parking_lot-0.10.2\src\elision.rs:77:13
|
77 | llvm_asm!("xacquire; lock; cmpxchgq $2, $1"
| ^^^^^^^^
error: cannot find macro `llvm_asm` in this scope
--> C:\Users\Yara Yousef\.cargo\registry\src\github.com-1ecc6299db9ec823\parking_lot-0.10.2\src\elision.rs:108:13
|
108 | llvm_asm!("xrelease; lock; xaddq $2, $1"
| ^^^^^^^^
error: aborting due to 2 previous errors
error: could not compile `parking_lot`.
m-ou-se commented
For the latest parking_lot version you'll have to use a newer nightly compiler: rustup update
(See Amanieu/parking_lot#225)