From 1fd469a7fc19cfce41db74b1560f72889a8a4981 Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Wed, 7 Jun 2023 03:30:18 +0200 Subject: [PATCH] chore: remove extra #[cfg] attribute (#1616) This was accidentally added in 2d1e4144b315894164c8316a5fcfa2bc887a19d0. The second cfg attribute is essentially a no-op since the first one is still valid and has more conditions, but we don't need it. --- crates/napi/src/bindgen_runtime/module_register.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/napi/src/bindgen_runtime/module_register.rs b/crates/napi/src/bindgen_runtime/module_register.rs index 57bcb813..1c45d66d 100644 --- a/crates/napi/src/bindgen_runtime/module_register.rs +++ b/crates/napi/src/bindgen_runtime/module_register.rs @@ -539,7 +539,6 @@ unsafe extern "C" fn napi_register_module_v1( }); #[cfg(all(windows, feature = "napi4", feature = "tokio_rt"))] - #[cfg(all(feature = "napi4", feature = "tokio_rt"))] { crate::tokio_runtime::ensure_runtime();