vertexclique commented on a change in pull request #8609:
URL: https://github.com/apache/arrow/pull/8609#discussion_r523467239



##########
File path: rust/arrow/src/memory.rs
##########
@@ -22,6 +22,14 @@ use std::alloc::Layout;
 use std::mem::align_of;
 use std::ptr::NonNull;
 
+/// Target pointer width of the targeted platform
+#[cfg(target_pointer_width = "64")]
+pub(crate) const POINTER_WIDTH: usize = 64;

Review comment:
       I don't know what you are referring, there is nothing wrong with the 
implementation. 
   std::mem::size_of::<*const u8>() is not for target pointer size and doesn't 
give that.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to