-
Notifications
You must be signed in to change notification settings - Fork 28
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
Switch object-alloc and dependents to NonNull raw pointers #140
Comments
joshlf
changed the title
Switch to NonNull raw pointers
Switch object-alloc and dependents to NonNull raw pointers
Feb 16, 2018
joshlf
added a commit
that referenced
this issue
Feb 16, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - Closes #140
joshlf
added a commit
that referenced
this issue
Feb 16, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - While upgrading slab-alloc to use the latest mmap-alloc, remove support for huge pages (since mmap-alloc no longer supports them) - Closes #140
joshlf
added a commit
that referenced
this issue
Feb 16, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - While upgrading slab-alloc to use the latest mmap-alloc, remove support for huge pages (since mmap-alloc no longer supports them) - Closes #140
joshlf
added a commit
that referenced
this issue
Feb 16, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - While upgrading slab-alloc to use the latest mmap-alloc, remove support for huge pages (since mmap-alloc no longer supports them) - Closes #140
joshlf
added a commit
that referenced
this issue
Feb 16, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - While upgrading slab-alloc to use the latest mmap-alloc, remove support for huge pages (since mmap-alloc no longer supports them) - Closes #140
joshlf
added a commit
that referenced
this issue
Feb 19, 2018
- Switch from *mut u8 and *mut T to NonNull<u8> and NonNull<T> in trait methods - Upgrade slab-alloc, mmap-alloc, and object-alloc-test accordingly - While upgrading slab-alloc to use the latest mmap-alloc, remove support for huge pages (since mmap-alloc no longer supports them) - Closes #140
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that rust-lang/rust#46952 has landed, we should switch to using NonNull pointers where appropriate. This will help with both performance and correctness. This issue focuses only on
object-alloc
's traits and the crates that depend on it. #147 focuses on other uses.The text was updated successfully, but these errors were encountered: