build failed when using rust 1.82.0-nightly
Opened this issue · 1 comments
logeable commented
The error infos is as follows:
❯ cargo make
Finished `release` profile [optimized] target(s) in 0.04s
Running `target/release/xtask make`
Compiling rustsbi-qemu v0.2.0-alpha.3 (/Users/logeable/workstation/repos/rustsbi-qemu/rustsbi-qemu)
error: the feature `asm_const` has been stable since 1.82.0-nightly and no longer requires an attribute to enable
--> rustsbi-qemu/src/main.rs:3:29
|
3 | #![feature(naked_functions, asm_const)]
| ^^^^^^^^^
|
note: the lint level is defined here
--> rustsbi-qemu/src/main.rs:4:9
|
4 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
error: could not compile `rustsbi-qemu` (bin "rustsbi-qemu") due to 1 previous error
thread 'main' panicked at /Users/logeable/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-2eab394af869c8a2/os-xtask-utils-0.0.0/src/lib.rs:110:13:
Failed with code 101: "cargo build --package rustsbi-qemu --release --target riscv64imac-unknown-none-elf"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It seems that the 'asm_const' feature is stable in rust 1.82.0-nightly.
NoeTerrier commented
It seems like it can be safely removed!