From 8b1d874a6ec19eabdc33c5582ba43a415e8361b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E6=B5=A9----=E5=A4=A9=E5=91=BD=E5=89=91=E4=B8=BB?= Date: Tue, 16 Jul 2024 11:47:22 +0800 Subject: [PATCH] deny unsafe_op_in_unsafe_fn for teeos --- std/src/sys/pal/teeos/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/std/src/sys/pal/teeos/mod.rs b/std/src/sys/pal/teeos/mod.rs index 4c0620f270a97..adefd1bb42c8d 100644 --- a/std/src/sys/pal/teeos/mod.rs +++ b/std/src/sys/pal/teeos/mod.rs @@ -2,6 +2,7 @@ //! //! This module contains the facade (aka platform-specific) implementations of //! OS level functionality for Teeos. +#![deny(unsafe_op_in_unsafe_fn)] #![allow(unused_variables)] #![allow(dead_code)]