Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upupdate to bincode 1.0.0 #2394
update to bincode 1.0.0 #2394
Conversation
|
|
|
This should also update ipc-channel to 0.10 to avoid having two versions of bincode in servo |
| @@ -391,6 +391,20 @@ dependencies = [ | |||
| "servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||
| ] | |||
|
|
|||
| [[package]] | |||
| name = "fuchsia-zircon" | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
TyOverby
Feb 27, 2018
Author
Contributor
From Mio Cargo.toml
[target.'cfg(target_os = "fuchsia")'.dependencies]
fuchsia-zircon = "0.3.2"
fuchsia-zircon-sys = "0.3.2"
This comment has been minimized.
This comment has been minimized.
kvark
Feb 27, 2018
Member
It has BSD-3-Clause license, which is atypical for Rust ecosystem. Gotta check with Gecko folks before merging, since all dependencies are vendored for Gecko, and licenses matter.
This comment has been minimized.
This comment has been minimized.
mbrubeck
Mar 7, 2018
Contributor
These fuchsia-zircon crates are already in the Gecko source tree because the latest version of rand depends on them too.
|
@TyOverby For me everything is looking good |
| @@ -391,6 +391,20 @@ dependencies = [ | |||
| "servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)", | |||
| ] | |||
|
|
|||
| [[package]] | |||
| name = "fuchsia-zircon" | |||
This comment has been minimized.
This comment has been minimized.
kvark
Feb 27, 2018
Member
It has BSD-3-Clause license, which is atypical for Rust ecosystem. Gotta check with Gecko folks before merging, since all dependencies are vendored for Gecko, and licenses matter.
| @@ -830,6 +846,16 @@ dependencies = [ | |||
| "libc 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)", | |||
| ] | |||
|
|
|||
| [[package]] | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Eijebong
Feb 27, 2018
Member
rand is already in the dependency tree, this is just a dupe because some dependencies haven't updated yet (I've started doing what's needed for that)
|
|
|
|
|
Anything I could do to get this moving again ? |
|
can I regenerate the Cargo.lock file by just running |
|
Running a full cargo update is a pretty bad idea, you'll end up with a lot of unwanted stuff updated. |
|
How do I know which packages to |
|
Well you need to update |
|
BTW BSD-3-Clause seems to be our list of acceptable licenses, https://searchfox.org/mozilla-central/rev/99df6dad057b94c2ac4d8b12f7b0b3a7fdf25d04/python/mozbuild/mozbuild/vendor_rust.py#147 So that's not a blocker, at least. |
|
|
Yeah, add mio to the updated crates list |
|
@Eijebong I did that, and it got down to |
|
@TyOverby Mhh going from master,
I downgraded mio to avoid duping slab (I'll have a look at it later) |
|
Also it would probably be better if those commits were all squashed :) |
|
Is this ready for merge now? Do we need any sign-off to make sure that both Gecko and Servo are ready to get this merged? |
|
Try push to make sure the gecko side is good: |
|
Looks like there's some crashes but it's from the |
|
@staktrace https://github.com/djg/audioipc-2/pull/35/files#diff-f7e555878138f2fef856422bafa6439aR157 is the only thing that could crash in audioipc I think and I'm pretty sure that this unwrap is safe. |
|
@Eijebong https://treeherder.mozilla.org/logviewer.html#?job_id=167943511&repo=try&lineNumber=9622 is the stacktrace. Note that the audioipc update includes other changes too, everything in the range 7e866e5ba304b271ab4c504a354ed7aa628343b8..b93386611d7d9689c4f0177a4704f0adc16bc2d1 is fair game. |
|
Oh... This is way too domain specific for me to help :( |
|
Oh, the crash is probably from djg/audioipc-2@ead320a which needs a gecko-side change. But that landed after the bincode update so I can just update audioipc to the bincode update and skip the audioipc_client_init change if needed. |
|
Could we get this squashed into one commit (makes it easier to revert if we should ever need to), and then this is ready to merge. |
|
@glennw: doesn't github have a "merge and squash" feature? |
|
@TyOverby It does but they're using bors here to merge PRs instead of the github interface |
|
If I squash by using |
|
apparently |
|
Thanks! @bors-servo r+ |
|
|
update to bincode 1.0.0 This is a PR showing how to update to bincode 1.0.0 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2394) <!-- Reviewable:end -->
|
|
|
Blocked by #2522. |
|
@bors-servo retry |
update to bincode 1.0.0 This is a PR showing how to update to bincode 1.0.0 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2394) <!-- Reviewable:end -->
|
|
|
Need to add rand to the list of duped dependencies |
|
|
|
I rebased this patch, it's up on #2547 now. |
Update to bincode 1.0.0 Rebase of #2394 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2547) <!-- Reviewable:end -->
|
Closing in favor of #2547. |
TyOverby commentedFeb 8, 2018
•
edited
This is a PR showing how to update to bincode 1.0.0
This change is