From 292772c4d67fb7eaa5106ad7b17df330c2289b96 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Fri, 29 Nov 2024 15:50:29 -0500 Subject: [PATCH] fix: allow a deprecated wasm-bindgen struct --- hydration_context/src/hydrate.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hydration_context/src/hydrate.rs b/hydration_context/src/hydrate.rs index b314d62ab1..fb6729b949 100644 --- a/hydration_context/src/hydrate.rs +++ b/hydration_context/src/hydrate.rs @@ -1,3 +1,8 @@ +// #[wasm_bindgen(thread_local)] is deprecated in wasm-bindgen 0.2.96 +// but the replacement is also only shipped in that version +// as a result, we'll just allow deprecated for now +#![allow(deprecated)] + use super::{SerializedDataId, SharedContext}; use crate::{PinnedFuture, PinnedStream}; use core::fmt::Debug;