1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/test_ffi/tests
Matt Mastracci 1619932a65
chore(ext/ffi): migrate from op -> op2 for ffi (#20509)
Migrate to op2. Making a few decisions to get this across the line:

- Empty slices, no matter where the come from, are null pointers. The v8
bugs (https://bugs.chromium.org/p/v8/issues/detail?id=13489) and
(https://bugs.chromium.org/p/v8/issues/detail?id=13488) make passing
around zero-length slice pointers too dangerous as they might be
uninitialized or null data.
- Offsets and lengths are `#[number] isize` and `#[number] usize`
respectively -- 53 bits should be enough for anyone
- Pointers are bigints. This is a u64 in the fastcall world, and can
accept Integer/Int32/Number/BigInt v8 types in the slow world.
2023-10-05 15:35:21 +02:00
..
bench.js feat(ext/ffi): Make External pointers keep reference to V8 buffer (#17955) 2023-03-05 08:01:23 +00:00
event_loop_integration.ts test(ext/ffi): Increase timeout value in event loop integration test callback (#18394) 2023-03-25 09:18:41 +02:00
ffi_types.ts feat(unstable): Improve FFI types (#20215) 2023-08-21 13:36:26 +05:30
integration_tests.rs chore(ext/ffi): migrate from op -> op2 for ffi (#20509) 2023-10-05 15:35:21 +02:00
test.js chore(ext/ffi): migrate from op -> op2 for ffi (#20509) 2023-10-05 15:35:21 +02:00
thread_safe_test.js chore: update to Rust 1.71 (#19822) 2023-07-13 15:16:24 -06:00
thread_safe_test_worker.js fix(test_ffi): thread_safe_callback is flaky (#19640) 2023-06-28 14:41:59 -06:00