From 7f3a3321019cda3ce32d9b0ab4884b13d85cba78 Mon Sep 17 00:00:00 2001 From: Ruihan Li Date: Wed, 7 May 2025 23:56:01 +0800 Subject: [PATCH] Enable the `unsafe_op_in_unsafe_fn` lint --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 46132ee7..9d0bf89b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,6 +46,9 @@ exclude = [ "osdk", ] +[workspace.lints.rust] +unsafe_op_in_unsafe_fn = "warn" + [workspace.lints.clippy] allow_attributes = "warn"