diff --git a/Cargo.toml b/Cargo.toml index df32b6073f..70e7530f8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ tcp = ["smoltcp", "smoltcp/socket-tcp"] udp = ["smoltcp", "smoltcp/socket-udp"] trace = [] vga = [] -syscall = [] +common-os = [] [dependencies] ahash = { version = "0.8", default-features = false } diff --git a/src/macros.rs b/src/macros.rs index 2f82054138..c127bab229 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -75,7 +75,7 @@ macro_rules! dbg { #[cfg(not(any( target_arch = "riscv64", all(target_arch = "x86_64", feature = "newlib"), - feature = "syscall" + feature = "common-os" )))] macro_rules! kernel_function { ($f:ident()) => { @@ -113,7 +113,7 @@ macro_rules! kernel_function { #[cfg(any( target_arch = "riscv64", all(target_arch = "x86_64", feature = "newlib"), - feature = "syscall" + feature = "common-os" ))] macro_rules! kernel_function { ($f:ident($($x:tt)*)) => {{