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 upUpgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) #6591
Conversation
hoppipolla-critic-bot
commented
Jul 10, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/5516 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
d0ede43
to
b2a87db
|
Looks good to me, once upstream is merged feel free to land. |
|
@bors-servo r=pcwalton |
|
|
Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) Depends on mozilla/webdriver-rust#12. Fixes #6020. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6591) <!-- Reviewable:end -->
|
|
|
@bors-servo r=pcwalton (Re-ran |
|
|
Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) Depends on mozilla/webdriver-rust#12. Fixes #6020. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6591) <!-- Reviewable:end -->
|
|
|
|
|
Maybe we have multiple versions of packages. Check the |
|
The only crates duplicated in @bors-servo retry |
Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) Depends on mozilla/webdriver-rust#12. Fixes #6020. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6591) <!-- Reviewable:end -->
|
|
|
Ah, I missed that this is in |
|
Hrm. This is super confusing because when you do a build-cef, the only new things compiled are the |
|
Happens even on a clean build of CEF - https://pastebin.mozilla.org/8839475 |
|
@alexcrichton Have you ever seen something like this? We're getting duplicate symbols reported during link from a couple of crates (Skia and task-info) when we build a shared library (the CEF embedding stuff) but not when we build a binary (the final If I
Working on it, but this is currently blocking our rustup, so if you have any ideas, they'd be appreciated :-) The task_info sources are much easier to dig into than Skia: https://github.com/servo/servo/tree/rustup_2015-07-10/support/rust-task_info |
|
I suspect this is caused by rust-lang/rust#26869 (the
I believe that this is linking the library once and this is linking it again, so if you remove the Perhaps the skia bug is also somewhat related? |
|
@alexcrichton That fixed it for the task info - thanks a ton! I suspect it's a little more complicated for skia, as the static lib is pulled in via |
|
The pattern that I would suggest is the similar |
|
@alexcrichton Yeah, I think most of our hacks are also to preserve link order, which is really finicky here. e.g., we need to link in fontconfig after skia or the skia bindings to FC functions will be unresolved. |
|
@alexcrichton I think that's what we tried to achieve, but some of this is pre-Cargo legacy. We'll clean it up after this round of Rust upgrades and see if we run into further issues. |
|
|
|
I’ll rebase. |
|
I force-pushed my rebase of bbed054 without thinking of fetching first, so I overwrote any change made since. Sorry! @larsbergstrom I think you had some, could you push your local branch again? Either force-push and I can rebase again, or push to another branch and I can cherry-pick your changes. Also, it looks like rust-layers now need to be updated for changes in Skia: https://travis-ci.org/servo/rust-layers/jobs/70484266 |
GLRasterizationContext is now responsible for doing GPU rasterization. It can coexist with its target NativeSurface, so we don't have to continually recreate NativeSurfaces when doing GPU rasterization.
|
I've added the commit that gets rust-layers up to date, as well as reworking the code to work properly with it. |
|
LGTM. |
|
@bors-servo: r+ |
|
|
|
|
Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) Depends on mozilla/webdriver-rust#12. Fixes #6020. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6591) <!-- Reviewable:end -->
SimonSapin commentedJul 10, 2015
Depends on mozilla/webdriver-rust#12.
Fixes #6020.