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

Remove dependency on unmaintained 'unreachable' crate #140

Merged
merged 2 commits into from Feb 16, 2019

Conversation

mbrubeck
Copy link
Collaborator

@mbrubeck mbrubeck commented Feb 16, 2019

Fixes #128 by inlining the tiny amount of code we use from unreachable and its dependency void. Eventually this can be replaced with std::hint::unrechable_unchecked but this will require bumping our minumum supported Rust version.

This will prevent build breakage from users building with broken versions of the void crate, as in crossbeam-rs/crossbeam#312.


This change is Reviewable

Fixes servo#128 by inlining the tiny amount of code we use from `unreachable`
and its dependency `void`.  Eventually this can be replaced with
`std::hint::unrechable_unchecked` but this will require bumping our
minumum supported Rust version.

This will prevent build breakage from users building with broken
versions of the `void` crate, as in crossbeam-rs/crossbeam#312.
@emilio
Copy link
Member

emilio commented Feb 16, 2019

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 6510c42 has been approved by emilio

@bors-servo
Copy link
Contributor

⌛ Testing commit 6510c42 with merge dfd78d1...

bors-servo pushed a commit that referenced this pull request Feb 16, 2019
Remove dependency on unmaintained 'unreachable' crate

Fixes #128 by inlining the tiny amount of code we use from `unreachable` and its dependency `void`.  Eventually this can be replaced with `std::hint::unrechable_unchecked` but this will require bumping our minumum supported Rust version.

This will prevent build breakage from users building with broken versions of the `void` crate, as in crossbeam-rs/crossbeam#312.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/140)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis
Approved by: emilio
Pushing dfd78d1 to master...

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

3 participants