ethantang93 commented on code in PR #10507:
URL: https://github.com/apache/arrow-rs/pull/10507#discussion_r3716550024
##########
arrow-ipc/src/writer.rs:
##########
@@ -4582,7 +4601,7 @@ mod tests {
let out: Vec<u8> = writer.into_inner().unwrap();
- let buffer = Buffer::from_vec(out);
+ let buffer = Buffer::from_slice_ref(out);
Review Comment:
i think this is essentially same issue as above, `vec<u8>` has byte
alignment, but the test later runs zero copy read with
`require_alignment(true)` , so miri reports the buffer as misaligned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]