Skip to content
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

Backport MaybeUninit patches to 0.6 #179

Closed
wants to merge 5 commits into from

Conversation

mbrubeck
Copy link
Collaborator

@mbrubeck mbrubeck commented Nov 4, 2019

This is a backport of #162 to the smallvec 0.6 branch. To avoid bumping the minimum Rust version, the maybe-uninit crate is used in place of std::mem::MaybeUninit. To avoid breaking changes, the Array::ptr and ptr_mut methods are retained but are no longer used, and the API to from_buf_and_len_unchecked is unchanged.

mbrubeck and others added 5 commits October 28, 2019 15:44
* The `alloc` feature is now stable (servo#159).
* Move code using specialization into its own module (servo#161)
This is a backport of servo#162 to the smallvec 0.6 branch. To avoid bumping the
minimum Rust version, the `maybe-uninit` crate is used in place of
`std::mem::MaybeUninit`.  To avoid breaking changes, the `Array::ptr` and
`ptr_mut` methods are retained but are no longer used, and the API to
`from_buf_and_len_unchecked` is unchanged.
Works now on trunk.

Closes servo#139
@mbrubeck
Copy link
Collaborator Author

mbrubeck commented Nov 4, 2019

Submitted this pull request to the wrong branch.

@mbrubeck mbrubeck closed this Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants