Navigation Menu

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 cargo feature to build with UWP support. #200

Merged
merged 1 commit into from Sep 11, 2019

Conversation

jdm
Copy link
Member

@jdm jdm commented Sep 11, 2019

These changes remove a bunch of forbidden API uses. I've tested a local build and it starts up and can successfully JIT some rAF code in a WebGL example.


This change is Reviewable

@jdm
Copy link
Member Author

jdm commented Sep 11, 2019

r? @asajeffrey

@asajeffrey
Copy link
Member

Wow, that's quite a big patch! LGTM, though I'm concerned about the process of upstreaming, especially if this changes the minimum windows SDK version. @bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit c414ea9 has been approved by asajeffrey

bors-servo pushed a commit that referenced this pull request Sep 11, 2019
Add cargo feature to build with UWP support.

These changes remove a bunch of forbidden API uses. I've tested a local build and it starts up and can successfully JIT some rAF code in a WebGL example.

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

⌛ Testing commit c414ea9 with merge fe41b97...

@jdm jdm mentioned this pull request Sep 11, 2019
3 tasks
@jdm
Copy link
Member Author

jdm commented Sep 11, 2019

@bors-servo r=asajeffrey

@bors-servo
Copy link
Contributor

📌 Commit 9ad6d4b has been approved by asajeffrey

@bors-servo
Copy link
Contributor

⌛ Testing commit 9ad6d4b with merge 99952b4...

bors-servo pushed a commit that referenced this pull request Sep 11, 2019
Add cargo feature to build with UWP support.

These changes remove a bunch of forbidden API uses. I've tested a local build and it starts up and can successfully JIT some rAF code in a WebGL example.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/200)
<!-- Reviewable:end -->
bors-servo pushed a commit to servo/servo that referenced this pull request Sep 11, 2019
Fix many WACK errors

These changes ensure that all native dependencies are built with the compiler flags that will prevent forbidden API uses. They also incorporate a fork of rand_os that backports UWP support from more recent rand releases. This is necessary in the short term to avoid having to wait for the entire ecosystem to migrate to the most recent rand release.

Depends on servo/mozjs#200.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because no windows WACK tests

<!-- 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/24185)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis, status-appveyor
Approved by: asajeffrey
Pushing 99952b4 to master...

@bors-servo bors-servo merged commit 9ad6d4b into servo:master Sep 11, 2019
bors-servo pushed a commit to servo/servo that referenced this pull request Sep 20, 2019
Fix many WACK errors

These changes ensure that all native dependencies are built with the compiler flags that will prevent forbidden API uses. They also incorporate a fork of rand_os that backports UWP support from more recent rand releases. This is necessary in the short term to avoid having to wait for the entire ecosystem to migrate to the most recent rand release.

Depends on servo/mozjs#200 and servo/rust-mozjs#471.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because no windows WACK tests

<!-- 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/24185)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants