From 869acee8fb801191e87c39641e883fa455811f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 20 Oct 2022 21:01:49 +0200 Subject: chore: upgrade rusty_v8 to 0.54.0 (#16368) --- ops/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ops') diff --git a/ops/lib.rs b/ops/lib.rs index adc50e69c..e8ea1e969 100644 --- a/ops/lib.rs +++ b/ops/lib.rs @@ -229,7 +229,7 @@ fn codegen_v8_async( use #core::futures::FutureExt; // SAFETY: #core guarantees args.data() is a v8 External pointing to an OpCtx for the isolates lifetime let ctx = unsafe { - &*(#core::v8::Local::<#core::v8::External>::cast(args.data().unwrap_unchecked()).value() + &*(#core::v8::Local::<#core::v8::External>::cast(args.data()).value() as *const #core::_ops::OpCtx) }; let op_id = ctx.id; @@ -557,7 +557,7 @@ fn codegen_v8_sync( quote! { // SAFETY: #core guarantees args.data() is a v8 External pointing to an OpCtx for the isolates lifetime let ctx = unsafe { - &*(#core::v8::Local::<#core::v8::External>::cast(args.data().unwrap_unchecked()).value() + &*(#core::v8::Local::<#core::v8::External>::cast(args.data()).value() as *const #core::_ops::OpCtx) }; -- cgit v1.2.3