Skip to content

Glutin update - #7096

Merged
bors-servo merged 1 commit into
servo:masterfrom
paulrouget:glutin-update
Aug 22, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
paulrouget:glutin-update

Conversation

@paulrouget

Copy link
Copy Markdown
Contributor

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 8, 2015
@paulrouget
paulrouget force-pushed the glutin-update branch 2 times, most recently from 78356d8 to fbcf7fa Compare August 13, 2015 08:37
Comment thread ports/glutin/window.rs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be ...make_current().expect("Failed to make context current!");

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't use expect:

/Users/paul/github/servo/ports/glutin/window.rs:102:47: 102:88 error: use of unstable library feature 'result_expect': newly introduced (see issue #27277)
/Users/paul/github/servo/ports/glutin/window.rs:102         unsafe { glutin_window.make_current().expect("Failed to make context current!") }
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paul/github/servo/ports/glutin/window.rs:102:47: 102:88 help: add #![feature(result_expect)] to the crate attributes to enable

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just enable the feature.

@paulrouget
paulrouget force-pushed the glutin-update branch 3 times, most recently from 755d3a2 to 84b66f5 Compare August 19, 2015 08:54
@paulrouget

Copy link
Copy Markdown
Contributor Author

Addressed Nox' comments.

@nox

nox commented Aug 20, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r=glennw r+

Thanks for your contribution.


Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


Comments from the review on Reviewable.io

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 84b66f5 has been approved by nox

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 84b66f5 has been approved by glennw

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 20, 2015
@nox nox self-assigned this Aug 20, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 84b66f5 with merge 441a054...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac2

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 20, 2015
@paulrouget

Copy link
Copy Markdown
Contributor Author

This still requires an update of Cargo.toml, and it depends on servo/glutin#44

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 22, 2015
@paulrouget

Copy link
Copy Markdown
Contributor Author

The glutin servo branch has been updated.

I ran cargo update -p glutin, and ended up with this new Cargo.lock. Does it look right?

@nox

nox commented Aug 22, 2015

Copy link
Copy Markdown
Contributor

@paulrouget You must use ./mach update-cargo, AFAIK.

@glennw

glennw commented Aug 22, 2015

Copy link
Copy Markdown
Member

@paulrouget Yep, if you run ./mach update-cargo -p glutin like @nox mentioned, this will update the cargo.lock files for all ports. I have only quickly scanned the changed cargo.lock file, but it looks about right - lots of new dependencies from the upstream glutin :)

@paulrouget

Copy link
Copy Markdown
Contributor Author

Updated with mach update-cargo -p glutin.

@SimonSapin

Copy link
Copy Markdown
Member

@bors-servo r=glennw

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0209bf1 has been approved by glennw

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0209bf1 with merge 12c44d6...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 22, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, mac1, mac2, mac3

@bors-servo
bors-servo merged commit 0209bf1 into servo:master Aug 22, 2015
bors-servo pushed a commit that referenced this pull request Aug 25, 2015
bors-servo pushed a commit that referenced this pull request Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants