From cd451beda644bbd26cbe34a51034f4779b0b5cc7 Mon Sep 17 00:00:00 2001 From: luojia65 Date: Wed, 19 Oct 2022 15:38:33 +0800 Subject: [PATCH] lib: remove dependency on feature asm_sym It has been stablized in https://github.com/rust-lang/rust/pull/103168 --- rustsbi-k210/src/main.rs | 2 +- test-kernel/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rustsbi-k210/src/main.rs b/rustsbi-k210/src/main.rs index 827207b..8b58ce5 100644 --- a/rustsbi-k210/src/main.rs +++ b/rustsbi-k210/src/main.rs @@ -3,7 +3,7 @@ #![feature(naked_functions)] #![feature(generator_trait)] #![feature(default_alloc_error_handler)] -#![feature(asm_sym, asm_const)] +#![feature(asm_const)] mod execute; mod feature; diff --git a/test-kernel/src/main.rs b/test-kernel/src/main.rs index f656e96..11902f1 100644 --- a/test-kernel/src/main.rs +++ b/test-kernel/src/main.rs @@ -1,5 +1,5 @@ #![feature(naked_functions)] -#![feature(asm_sym, asm_const)] +#![feature(asm_const)] #![feature(generator_trait)] #![feature(default_alloc_error_handler)] #![feature(stdsimd)]