Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too.

This commit is contained in:
Mara Bos 2020-10-13 18:52:57 +02:00
parent b26aa5d973
commit af414dc274
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ pub mod thread_local_key;
pub mod time;
#[path = "../unsupported/common.rs"]
#[deny(unsafe_op_in_unsafe_fn)]
#[allow(unused)]
mod common;
pub use common::*;

View File

@ -66,5 +66,6 @@ cfg_if::cfg_if! {
}
#[path = "../unsupported/common.rs"]
#[deny(unsafe_op_in_unsafe_fn)]
mod common;
pub use common::*;