summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2022-11-22 22:54:41 -0500
committerGitHub <noreply@github.com>2022-11-22 22:54:41 -0500
commit316bda89e4a444bd6d4f4434cc3428383ecff88e (patch)
tree08cd93bb839316e938e60f5a24810b2ce99e307f /library/std/src/sys
parent54b629285512582f9405ecfad05cb9c6acb0ecdd (diff)
parent1a6966602a06bb85d1952027e990d72f6d01792f (diff)
downloadrust-316bda89e4a444bd6d4f4434cc3428383ecff88e.tar.gz
rust-316bda89e4a444bd6d4f4434cc3428383ecff88e.zip
Rollup merge of #104647 - RalfJung:alloc-strict-provenance, r=thomcc
enable fuzzy_provenance_casts lint in liballoc and libstd

r? ````@thomcc````
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/sgx/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/sgx/mod.rs b/library/std/src/sys/sgx/mod.rs
index b1d32929ecf..01e4ffe3dfc 100644
--- a/library/std/src/sys/sgx/mod.rs
+++ b/library/std/src/sys/sgx/mod.rs
@@ -3,6 +3,7 @@
 //! This module contains the facade (aka platform-specific) implementations of
 //! OS level functionality for Fortanix SGX.
 #![deny(unsafe_op_in_unsafe_fn)]
+#![allow(fuzzy_provenance_casts)] // FIXME: this entire module systematically confuses pointers and integers
 
 use crate::io::ErrorKind;
 use crate::sync::atomic::{AtomicBool, Ordering};