summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-11-21 16:10:56 +0100
committerRalf Jung <post@ralfj.de>2022-11-21 16:10:56 +0100
commit1a6966602a06bb85d1952027e990d72f6d01792f (patch)
treee128b3711497db0513ace18abb7968c30c41b413
parent7f5adddb2528be322c02cea44137d4192db3b8d5 (diff)
downloadrust-1a6966602a06bb85d1952027e990d72f6d01792f.tar.gz
rust-1a6966602a06bb85d1952027e990d72f6d01792f.zip
dont attempt strict provenance in SGX
-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};