Skip to content

Commit

Permalink
lib: remove dependency on feature asm_sym
Browse files Browse the repository at this point in the history
It has been stablized in rust-lang/rust#103168
  • Loading branch information
luojia65 committed Oct 19, 2022
1 parent 6818eb7 commit 80f276e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ You should use these following line of parameters:

... to enable H extension on QEMU software.

3. What is the minimum supported Rust version of this package?

You should build RustSBI-QEMU on nightly at least `rustc 1.66.0-nightly (a24a020e6 2022-10-18)`.

## License

This project is licensed under Mulan PSL v2.
Expand Down
2 changes: 1 addition & 1 deletion rustsbi-qemu/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![no_std]
#![no_main]
#![feature(naked_functions, asm_sym, asm_const)]
#![feature(naked_functions, asm_const)]
#![deny(warnings)]

mod clint;
Expand Down
2 changes: 1 addition & 1 deletion test-kernel/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![no_std]
#![no_main]
#![feature(naked_functions, asm_sym, asm_const)]
#![feature(naked_functions, asm_const)]
#![deny(warnings)]

#[macro_use]
Expand Down

0 comments on commit 80f276e

Please sign in to comment.