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

Add the mut keyword for font_key_from_native_handle() in windows platform #1599

Closed
wants to merge 1 commit into from

Conversation

@JerryShih
Copy link
Contributor

JerryShih commented Aug 23, 2017

@glennw r?

Fix the build break in windows. The add_native_font() call in this function needs a mutable variable.

--> src\wrench.rs:277:9
|
276 | let resources = ResourceUpdates::new();
| --------- consider changing this to mut resources
277 | resources.add_native_font(key, descriptor.clone());
| ^^^^^^^^^ cannot borrow mutably
error: aborting due to previous error


This change is Reviewable

…form.

Fix the build break in windows. The add_native_font() call in this
function needs a mutable variable.
@glennw
Copy link
Member

glennw commented Aug 23, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

📌 Commit 0421518 has been approved by glennw

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo p=100 force

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo are you still there?

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

🍰 Activated

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo r=glennw

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #1597
@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

📌 Commit 0421518 has been approved by glennw

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo r=glennw

yes i know it's already approved but please tell me why you're blocked, homu

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #1597
@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

📌 Commit 0421518 has been approved by glennw

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo p=100

@edunham
Copy link
Contributor

edunham commented Aug 23, 2017

@bors-servo r=glennw

please tell me it's redundant

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #1597
@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

📌 Commit 0421518 has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

🍰 There you are

@servo servo deleted a comment from bors-servo Aug 23, 2017
@servo servo deleted a comment from bors-servo Aug 23, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

🍰 Who's there?

@kvark
Copy link
Member

kvark commented Aug 23, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #1597
@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

📌 Commit 0421518 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Aug 23, 2017

Testing commit 0421518 with merge a1498bd...

bors-servo added a commit that referenced this pull request Aug 23, 2017
Add the mut keyword for font_key_from_native_handle() in windows platform

@glennw r?

Fix the build break in windows. The add_native_font() call in this function needs a mutable variable.

   --> src\wrench.rs:277:9
    |
276 |         let resources = ResourceUpdates::new();
    |             --------- consider changing this to `mut resources`
277 |         resources.add_native_font(key, descriptor.clone());
    |         ^^^^^^^^^ cannot borrow mutably
error: aborting due to previous error

<!-- 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/1599)
<!-- Reviewable:end -->
@glennw glennw closed this Aug 23, 2017
@glennw glennw reopened this Aug 23, 2017
@glennw
Copy link
Member

glennw commented Aug 24, 2017

@bors-servo force clean retry

@glennw glennw closed this Aug 24, 2017
@glennw glennw reopened this Aug 24, 2017
@glennw
Copy link
Member

glennw commented Aug 24, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2017

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2017

📌 Commit 0421518 has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2017

Testing commit 0421518 with merge 7d1fd67...

bors-servo added a commit that referenced this pull request Aug 24, 2017
Add the mut keyword for font_key_from_native_handle() in windows platform

@glennw r?

Fix the build break in windows. The add_native_font() call in this function needs a mutable variable.

   --> src\wrench.rs:277:9
    |
276 |         let resources = ResourceUpdates::new();
    |             --------- consider changing this to `mut resources`
277 |         resources.add_native_font(key, descriptor.clone());
    |         ^^^^^^^^^ cannot borrow mutably
error: aborting due to previous error

<!-- 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/1599)
<!-- Reviewable:end -->
@glennw glennw closed this Aug 24, 2017
@glennw glennw reopened this Aug 24, 2017
@kvark
Copy link
Member

kvark commented Aug 24, 2017

@edunham doesn't look like this PR is going to give up easily

@glennw
Copy link
Member

glennw commented Aug 24, 2017

Closing in favour of #1610 due to bors / travis issues.

@glennw glennw closed this Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.