From 9304126be5633d4e7d384a8df87f5833a7a145e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E7=82=B3=E6=9D=83?= <695601626@qq.com> Date: Thu, 11 Apr 2024 06:08:23 +0800 Subject: chore: update to Rust 1.77.2 (#23262) update to Rust 1.77.2 --------- Co-authored-by: Matt Mastracci --- ext/web/stream_resource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/web/stream_resource.rs') diff --git a/ext/web/stream_resource.rs b/ext/web/stream_resource.rs index 9a46b6d47..b96ac36bc 100644 --- a/ext/web/stream_resource.rs +++ b/ext/web/stream_resource.rs @@ -594,7 +594,7 @@ mod tests { static V8_GLOBAL: OnceLock<()> = OnceLock::new(); thread_local! { - static ISOLATE: OnceCell> = OnceCell::new(); + static ISOLATE: OnceCell> = const { OnceCell::new() }; } fn with_isolate(mut f: impl FnMut(&mut v8::Isolate) -> T) -> T { -- cgit v1.2.3