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 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

@asajeffrey
Copy link
Member

asajeffrey commented Sep 11, 2019

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

bors-servo commented Sep 11, 2019

📌 Commit c414ea9 has been approved by asajeffrey

bors-servo added 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

bors-servo commented Sep 11, 2019

Testing commit c414ea9 with merge fe41b97...

@jdm jdm mentioned this pull request Sep 11, 2019
3 of 3 tasks complete
@jdm jdm force-pushed the jdm:uwp-rustc-with-cpp-changes branch from c414ea9 to 9ad6d4b Sep 11, 2019
@jdm
Copy link
Member Author

jdm commented Sep 11, 2019

@bors-servo r=asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented Sep 11, 2019

📌 Commit 9ad6d4b has been approved by asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented Sep 11, 2019

Testing commit 9ad6d4b with merge 99952b4...

bors-servo added 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 added 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

bors-servo commented Sep 11, 2019

☀️ 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
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
bors-servo added 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

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