Skip to content

Commit

Permalink
toolchain?
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Nov 4, 2024
1 parent 840a767 commit c9d04d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit c9d04d5

Please sign in to comment.