From 8520cc7e733063db2567f70da35800d7aec7ceda Mon Sep 17 00:00:00 2001 From: elfein Date: Thu, 11 Nov 2021 06:41:45 -0800 Subject: [PATCH] made compatible with no_std --- src/wasm_sys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm_sys.rs b/src/wasm_sys.rs index 6f84ad7..652c39b 100644 --- a/src/wasm_sys.rs +++ b/src/wasm_sys.rs @@ -11,7 +11,7 @@ macro_rules! syscall_enum { $($Variant=$Value),* } - impl From for SysCall { + impl core::convert::From for SysCall { fn from(n: usize) -> Self { match n { $($Value => Self::$Variant),*,