From c9d04d57c0d2d1b5a471ce7d75ee39fbce565292 Mon Sep 17 00:00:00 2001 From: snek Date: Mon, 4 Nov 2024 10:20:43 +0100 Subject: [PATCH] toolchain? --- tests/test_api.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_api.rs b/tests/test_api.rs index a50c3c3a86..9dd21da861 100644 --- a/tests/test_api.rs +++ b/tests/test_api.rs @@ -11029,8 +11029,7 @@ fn test_fast_calls_callback_options_data() { let scope = &mut v8::ContextScope::new(scope, context); let global = context.global(scope); - let external = - v8::External::new(scope, unsafe { addr_of_mut!(DATA) as *mut c_void }); + let external = v8::External::new(scope, addr_of_mut!(DATA) as *mut c_void); let template = v8::FunctionTemplate::builder(slow_fn) .data(external.into())