-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5284: [Rust] Replace libc with std::alloc for memory allocation #4273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
andygrove
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one question.
rust/arrow/src/memory.rs
Outdated
| // under the License. | ||
|
|
||
| //! Defines memory-related functions, currently mostly to make this library play nicely | ||
| //! with C. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this comment still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem related anymore. Will delete later.
|
Please do not commit this yet - I still need to investigate the windows test failure. |
|
Hey @sunchao, I'm able to reproduce the failure, it comes from I ran cargo test with 1 thread to find the offender. |
|
Thanks @nevi-me . I think it fails because it was trying to dealloc a null pointer. Not sure why it doesn't fail on linux. |
nevi-me
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Would this fix the 64-byte counting issue that I was experiencing on #4167 ?
No. I'm going to work on that next. |
No description provided.