-
Notifications
You must be signed in to change notification settings - Fork 59
Bug Fixes #142
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
Bug Fixes #142
Conversation
9prady9
commented
Jun 8, 2017
•
edited
Loading
edited
- Fixes Array::host, a safe method, can easily cause memory unsafety #135
- Fixes Stream Compaction #124 - Added Array::new_empty that lets you create empty Arrays.
- Fixes locate() does not implement borrow check? #138
- Fixes Host array of eq is incorrect #136 - Updated documentation of comparison operation functions indicating the return Array type.
Thank you for adding this! The |
@daboross I believe it will break the ABI(not sure how this works in Rust, saying it based on C/C++ experience) but in terms of API, the existing code will still work as long as it was being used with valid types. |
@9prady9 Yes, the valid types is all I mean - I don't believe ABI breaking has any real meaning in rust, as the ABI is not stable at all. It would just break if anyone was using it with their own non-HasAfEnum type, but I'm assuming that isn't a concern. |
The Array objects used by Indexer objects were not properly incrementing the reference count. This led to memory corruption and undefined behaviour which is fixed now.
starting commit d558748 rustc-serialize has been replaced in favor of serde. Serde requires rust 1.15.1. Thus, README has been updated reflecting the same.