Closed kennystrawnmusic closed 4 years ago
Pull Request #108 includes a fix for this.
Hmm... Current nightly is giving me the opposite issue right now:
warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead
--> src/main.rs:45:5
|
45 | llvm_asm!("call $1; ${:private}.spin.${:uid}: jmp ${:private}.spin.${:uid}" ::
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead
--> src/main.rs:91:5
|
91 | llvm_asm!("mov bx, 0x0
| ^^^^^^^^
warning: `bootloader` (bin "bootloader") generated 2 warnings
Looks like x86_64
updated to use asm!
as well: https://github.com/rust-osdev/x86_64/issues/164
My understanding is that asm!
was renamed to llvm_asm!
as an intermediate step to keep it as a legacy API, but there is a new asm!
macro that should be used.
Should be a pretty simple problem to fix, but as of 24 April 2020, use of the
asm!
macro is triggering multiple deprecation warnings:Should be an easy fix if you ask me ― since there's probably a lot more instances than those two, is this being worked on already?