From ae7719371f2e7a67e8d33f3c02c070d2c639e008 Mon Sep 17 00:00:00 2001 From: elfein Date: Thu, 11 Nov 2021 00:51:30 -0800 Subject: [PATCH] empty variant --- src/wasm_sys.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wasm_sys.rs b/src/wasm_sys.rs index e176b57..4edfb80 100644 --- a/src/wasm_sys.rs +++ b/src/wasm_sys.rs @@ -33,6 +33,7 @@ pub enum SysCall { // Security Syscalls ENCRYPT = 50, + EMPTY = usize::MAX, } impl From for SysCall { @@ -61,6 +62,7 @@ impl From for SysCall { 30 => Self::FILE_READ, 31 => Self::FILE_WRITE, 50 => Self::ENCRYPT, + _ => Self::EMPTY, } } }