Skip to content

Commit a4960a9

Browse files
committed
tests: fix test_pointers.rs's expected_buffer for aarch64 since some things are skipped
1 parent bc7e031 commit a4960a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pointers/src/test_pointers.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ pub fn test_fn_ptrs() {
6161
let expected_buffer = [
6262
97, 97, 97, -98, 1, 0, 0, 1, 65, 66, 68, 69, 97, 97, 97, 1, 97, 98,
6363
];
64+
#[cfg(target_arch = "aarch64")]
65+
let expected_buffer = [
66+
97, 97, 97, -98, 1, 0, 0, 1, 68, 69, 97, 97, 97, 1, 0, 0, 0, 0,
67+
];
6468

6569
unsafe {
6670
entry3(BUFFER_SIZE3 as u32, buffer.as_mut_ptr());

0 commit comments

Comments
 (0)