diff options
| author | bors <bors@rust-lang.org> | 2020-10-26 04:34:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-10-26 04:34:46 +0000 |
| commit | 1cd97cad6e5f85bed455f505f330ead1d5cd8432 (patch) | |
| tree | 7713c2e1b72df2e80cebedfacf98a4d85aab2720 /library/std/src/sys/wasm/mod.rs | |
| parent | 16e9ed0b1c58e0327eb37eb6f70e9b9ef1844591 (diff) | |
| parent | c8e0f4d90b474492485e869be81b0d452dbe1926 (diff) | |
| download | rust-1cd97cad6e5f85bed455f505f330ead1d5cd8432.tar.gz rust-1cd97cad6e5f85bed455f505f330ead1d5cd8432.zip | |
Auto merge of #78387 - Dylan-DPC:rollup-ch0st6z, r=Dylan-DPC
Rollup of 10 pull requests Successful merges: - #74477 (`#[deny(unsafe_op_in_unsafe_fn)]` in sys/wasm) - #77836 (transmute_copy: explain that alignment is handled correctly) - #78126 (Properly define va_arg and va_list for aarch64-apple-darwin) - #78137 (Initialize tracing subscriber in compiletest tool) - #78161 (Add issue template link to IRLO) - #78214 (Tweak match arm semicolon removal suggestion to account for futures) - #78247 (Fix #78192) - #78252 (Add codegen test for #45964) - #78268 (Do not try to report on closures to avoid ICE) - #78295 (Add some regression tests) Failed merges: r? `@ghost`
Diffstat (limited to 'library/std/src/sys/wasm/mod.rs')
| -rw-r--r-- | library/std/src/sys/wasm/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/wasm/mod.rs b/library/std/src/sys/wasm/mod.rs index 11c6896f050..82683c0f624 100644 --- a/library/std/src/sys/wasm/mod.rs +++ b/library/std/src/sys/wasm/mod.rs @@ -14,6 +14,8 @@ //! compiling for wasm. That way it's a compile time error for something that's //! guaranteed to be a runtime error! +#![deny(unsafe_op_in_unsafe_fn)] + pub mod alloc; pub mod args; #[path = "../unsupported/cmath.rs"] |
