]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #75971 - Amjad50:libstd-deny-unsafe_op_in_unsafe_fn, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Thu, 3 Sep 2020 02:15:16 +0000 (02:15 +0000)
committerbors <bors@rust-lang.org>
Thu, 3 Sep 2020 02:15:16 +0000 (02:15 +0000)
Applied `#![deny(unsafe_op_in_unsafe_fn)]` in library/std/src/wasi

partial fix for #73904

There are still more that was not applied in [mod.rs]( https://github.com/rust-lang/rust/blob/38fab2ea92a48980219989817201bf2094ae826a/library/std/src/sys/wasi/mod.rs) and that is due to its using files from `../unsupported`

like:
```
#[path = "../unsupported/cmath.rs"]
pub mod cmath;
```

1  2 
library/std/src/sys/wasi/ext/fs.rs

Simple merge