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

Stop using the unstable optin_builtin_traits feature #17554

Merged
merged 1 commit into from Jun 29, 2017

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented Jun 28, 2017

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix part of #5286.
  • These changes do not require tests because they are refactoring only.

This change is Reviewable

@highfive
Copy link

highfive commented Jun 28, 2017

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/lib.rs, components/script/dom/bindings/str.rs
  • @KiChjang: components/script/lib.rs, components/script/dom/bindings/str.rs
@highfive
Copy link

highfive commented Jun 28, 2017

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify script code, but no tests are modified. Please consider adding a test!

impl !Send for DOMString {}
// `PhantomData<*const ()>` impls both !Sync and !Send, but we only need !Send.
unsafe impl Sync for DOMString {}

This comment has been minimized.

@mbrubeck

mbrubeck Jun 28, 2017

Author Contributor

I don't know whether this impl Sync is really necessary.

This comment has been minimized.

@SimonSapin

SimonSapin Jun 28, 2017

Member

Does everything compile without it?

This comment has been minimized.

@mbrubeck

mbrubeck Jun 28, 2017

Author Contributor

Yes. I guess I can remove it...

@Manishearth
Copy link
Member

Manishearth commented Jun 28, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Jun 28, 2017

📌 Commit 786112b has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Jun 28, 2017

Testing commit 786112b with merge 71dd72b...

bors-servo added a commit that referenced this pull request Jun 28, 2017
Stop using the unstable optin_builtin_traits feature

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #5286.
- [x] These changes do not require tests because they are refactoring only.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17554)
<!-- Reviewable:end -->
@mbrubeck mbrubeck force-pushed the mbrubeck:oibit branch from 786112b to f511a77 Jun 28, 2017
@mbrubeck
Copy link
Contributor Author

mbrubeck commented Jun 28, 2017

@bors-servo r=ManishEarth

@bors-servo
Copy link
Contributor

bors-servo commented Jun 28, 2017

📌 Commit f511a77 has been approved by ManishEarth

@bors-servo
Copy link
Contributor

bors-servo commented Jun 29, 2017

Testing commit f511a77 with merge 6d7fdb4...

bors-servo added a commit that referenced this pull request Jun 29, 2017
Stop using the unstable optin_builtin_traits feature

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #5286.
- [x] These changes do not require tests because they are refactoring only.

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

bors-servo commented Jun 29, 2017

@bors-servo bors-servo merged commit f511a77 into servo:master Jun 29, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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

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