From cc5bef5a79ba719626ae84a67d40e94311a434ca Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 3 Oct 2022 00:53:31 +0800 Subject: [PATCH] fix non-exhaustive pattern issue --- api/xous-names/Cargo.toml | 2 +- api/xous-names/src/api.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api/xous-names/Cargo.toml b/api/xous-names/Cargo.toml index 409268abe..f3653e55c 100644 --- a/api/xous-names/Cargo.toml +++ b/api/xous-names/Cargo.toml @@ -3,7 +3,7 @@ authors = ["bunnie "] description = "Xous microkernel OS inter-process name resolution server" edition = "2018" name = "xous-api-names" -version = "0.9.1" +version = "0.9.2" license = "MIT OR Apache-2.0" repository = "https://github.com/betrusted-io/xous-core/" homepage = "https://betrusted.io/" diff --git a/api/xous-names/src/api.rs b/api/xous-names/src/api.rs index d7fa06b23..5399a3e27 100644 --- a/api/xous-names/src/api.rs +++ b/api/xous-names/src/api.rs @@ -2,7 +2,6 @@ pub const AUTHENTICATE_TIMEOUT: u32 = 10_000; // time in ms that a process has to respond to an authentication request #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive)] -#[non_exhaustive] #[repr(C)] pub enum Opcode { /// Create a new server with the given name and return its SID. @@ -53,7 +52,6 @@ pub enum Opcode { } #[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)] -#[non_exhaustive] #[repr(C)] pub enum Return { /// The caller must perform an AuthenticatedLookup using this challenge