#![feature(asm)]
fn main() {
println!("hellow word");
let result: u32;
unsafe {
llvm_asm!("mov eax, 07H;
mov ecx, 0;
cpuid;"
: "={ebx}"(result)
:
: "eax, ebx, ecx, edx"
: "intel"
);
}
}
error[E0658]: use of unstable library feature 'llvm_asm': prefer using the new asm! syntax instead
--> src/main.rs:6:9
|
6 | llvm_asm!("mov eax, 07H;
| ^^^^^^^^
|
= note: see issue #70173 <https://github.com/rust-lang/rust/issues/70173> for more information
what should I do !