From 1a6966602a06bb85d1952027e990d72f6d01792f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 21 Nov 2022 16:10:56 +0100 Subject: [PATCH] dont attempt strict provenance in SGX --- library/std/src/sys/sgx/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/sys/sgx/mod.rs b/library/std/src/sys/sgx/mod.rs index b1d32929ecfde..01e4ffe3dfc8a 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};