From 09f003d794fe6a2359ac917d1ec64c9aa0f24f36 Mon Sep 17 00:00:00 2001 From: luojia65 Date: Wed, 19 Oct 2022 15:39:56 +0800 Subject: [PATCH] lib: remove dependency on feature asm_sym It has been stablized in https://github.com/rust-lang/rust/pull/103168 --- see/src/main.rs | 2 +- spl/src/main.rs | 2 +- test-kernel/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/see/src/main.rs b/see/src/main.rs index bfbf1db..7a7a127 100644 --- a/see/src/main.rs +++ b/see/src/main.rs @@ -1,6 +1,6 @@ #![no_std] #![no_main] -#![feature(naked_functions, asm_sym, asm_const)] +#![feature(naked_functions, asm_const)] mod execute; mod extensions; diff --git a/spl/src/main.rs b/spl/src/main.rs index f48a365..c7be2fd 100644 --- a/spl/src/main.rs +++ b/spl/src/main.rs @@ -1,6 +1,6 @@ #![no_std] #![no_main] -#![feature(naked_functions, asm_sym, asm_const)] +#![feature(naked_functions, asm_const)] mod flash; mod logging; diff --git a/test-kernel/src/main.rs b/test-kernel/src/main.rs index 90abcd7..032ec51 100644 --- a/test-kernel/src/main.rs +++ b/test-kernel/src/main.rs @@ -2,7 +2,7 @@ #![no_std] #![no_main] -#![feature(naked_functions, asm_sym, asm_const)] +#![feature(naked_functions, asm_const)] use core::arch::asm; use sbi_testing::sbi;