made compatible with no_std

master
elfein 2021-11-11 06:41:45 -08:00
parent 7b5b4a2820
commit 8520cc7e73
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ macro_rules! syscall_enum {
$($Variant=$Value),*
}
impl From<usize> for SysCall {
impl core::convert::From<usize> for SysCall {
fn from(n: usize) -> Self {
match n {
$($Value => Self::$Variant),*,