Skip to content

Commit

Permalink
Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/was…
Browse files Browse the repository at this point in the history
…m too.
  • Loading branch information
m-ou-se committed Oct 13, 2020
1 parent b26aa5d commit af414dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down
1 change: 1 addition & 0 deletions library/std/src/sys/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ cfg_if::cfg_if! {
}

#[path = "../unsupported/common.rs"]
#[deny(unsafe_op_in_unsafe_fn)]
mod common;
pub use common::*;

0 comments on commit af414dc

Please sign in to comment.