OS: ArchLinux with Linux 5.11.11
Cargo version: cargo 1.51.0
Rustc version: rustc 1.51.0
Error:
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-2.0.2/src/lib.rs:48:9
|
48 | asm!("cpuid" : "+{eax}"(eax) "={ebx}"(ebx)
| ^---
| |
| _________help: replace with: `llvm_asm!`
| |
49 | | "+{ecx}"(ecx) "={edx}"(edx));
| |____________________________________________________^
|
= note: consider migrating to the new asm! syntax specified in RFC 2873
= note: alternatively, switch to llvm_asm! to keep your code working as it is
error: the legacy LLVM-style asm! syntax is no longer supported
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-2.0.2/src/lib.rs:64:9
|
64 | asm!("cpuid" : "+{eax}"(eax) "={ebx}"(ebx)
| ^---
| |
| _________help: replace with: `llvm_asm!`
| |
65 | | "={ecx}"(ecx) "={edx}"(edx));
| |____________________________________________________^
|
= note: consider migrating to the new asm! syntax specified in RFC 2873
= note: alternatively, switch to llvm_asm! to keep your code working as it is
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-2.0.2/src/lib.rs:1:1
|
1 | #![feature(prelude_import, asm)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiling syn v0.11.11
Compiling phf v0.7.21
Compiling num-complex v0.1.41
Compiling csv v0.14.7
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0554`.
error: could not compile `raw-cpuid`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed```
I don't know it's my fault or not..
OS: ArchLinux with Linux 5.11.11 Cargo version: cargo 1.51.0 Rustc version: rustc 1.51.0
Error: