From 76ea88fb591c3f1f840911bb36c738d8c1caa4e3 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sun, 1 Sep 2024 20:09:40 +0200 Subject: [PATCH] Remove broken `#[allow]` on `include!()` from #34 Having a `#[allow]` on top of `include!()` only applies to the first statement in the included file, hence has very little effect. Furthermore `bindgen 0.70.1` now emits the necessary `#[allow]`s already to appease `clippy`, making this redundant even if it was correctly applying to the surrounding module with `#![allow]`. --- runtime/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 0293c9b5e..23c1dc17a 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -45,7 +45,6 @@ pub use crate::task::ISPCTaskFn; #[macro_export] macro_rules! ispc_module { ($lib:ident) => { - #[allow(clippy::all)] include!(concat!(env!("ISPC_OUT_DIR"), "/", stringify!($lib), ".rs")); }; }