mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too.
This commit is contained in:
parent
b26aa5d973
commit
af414dc274
@ -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::*;
|
||||
|
@ -66,5 +66,6 @@ cfg_if::cfg_if! {
|
||||
}
|
||||
|
||||
#[path = "../unsupported/common.rs"]
|
||||
#[deny(unsafe_op_in_unsafe_fn)]
|
||||
mod common;
|
||||
pub use common::*;
|
||||
|
Loading…
Reference in New Issue
Block a user