diff --git a/crates/voicevox_core/src/lib.rs b/crates/voicevox_core/src/lib.rs index fff9d4926..beb654cf9 100644 --- a/crates/voicevox_core/src/lib.rs +++ b/crates/voicevox_core/src/lib.rs @@ -1,3 +1,6 @@ +#![deny(unsafe_code)] + +#[allow(unsafe_code)] mod c_export; mod engine; mod error; diff --git a/crates/voicevox_core/src/status.rs b/crates/voicevox_core/src/status.rs index 4e97b9872..8c2bfba5d 100644 --- a/crates/voicevox_core/src/status.rs +++ b/crates/voicevox_core/src/status.rs @@ -93,7 +93,9 @@ impl SupportedDevices { } } +#[allow(unsafe_code)] unsafe impl Send for Status {} +#[allow(unsafe_code)] unsafe impl Sync for Status {} impl Status {