From a1e41df6c25017ceba6ff6ff3d9abbaab46b3781 Mon Sep 17 00:00:00 2001 From: sonodima Date: Thu, 3 Oct 2024 21:03:22 +0200 Subject: [PATCH] allow dead code, which may happen if the exception handling was disabled (e.g. build on unix) --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index f685feb..4355af1 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,6 @@ +#![allow(dead_code)] #![cfg_attr(not(feature = "std"), no_std)] + use core::{ffi::c_void, mem::MaybeUninit}; mod code;