summaryrefslogtreecommitdiff
path: root/test_ffi/tests/integration_tests.rs
diff options
context:
space:
mode:
authorAapo Alasuutari <aapo.alasuutari@gmail.com>2022-10-20 07:07:37 +0300
committerGitHub <noreply@github.com>2022-10-20 09:37:37 +0530
commite2be70b035459cb534360b72ece4ff2abaa09cd7 (patch)
tree6be089ecce80843c01cd85cd2ff049d03f9e0955 /test_ffi/tests/integration_tests.rs
parent722ea20e860df0a568b5d97734ad8d89aa7382a9 (diff)
feat(ext/ffi): Make op_ffi_ptr_of fast (#16297)
Makes `op_ffi_ptr_of` fast. One of the tests changed from printing `false` to `true` as the fast `&[u8]` slice path creates the slice with a null pointer. Thus the `op_ffi_ptr_of` will now return a null pointer value whereas previously it returned a dangling pointer value.
Diffstat (limited to 'test_ffi/tests/integration_tests.rs')
-rw-r--r--test_ffi/tests/integration_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_ffi/tests/integration_tests.rs b/test_ffi/tests/integration_tests.rs
index 6b4853453..38808d205 100644
--- a/test_ffi/tests/integration_tests.rs
+++ b/test_ffi/tests/integration_tests.rs
@@ -57,7 +57,7 @@ fn basic() {
false\n\
true\n\
false\n\
- false\n\
+ true\n\
false\n\
579\n\
true\n\