Merge branch 'master' of https://github.com/AbleTheAbove/ableos-wasm-loader
This commit is contained in:
commit
fc887db31c
|
@ -12,7 +12,7 @@ macro_rules! syscall_enum {
|
||||||
$($Variant=$Value),*
|
$($Variant=$Value),*
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<usize> for SysCall {
|
impl core::convert::From<usize> for SysCall {
|
||||||
fn from(n: usize) -> Self {
|
fn from(n: usize) -> Self {
|
||||||
match n {
|
match n {
|
||||||
$($Value => Self::$Variant),*,
|
$($Value => Self::$Variant),*,
|
||||||
|
|
Reference in a new issue