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

Support cross-compiling from x64->x86 on Windows. #176

Merged
merged 1 commit into from Apr 15, 2019
Merged

Conversation

@jdm
Copy link
Member

jdm commented Apr 15, 2019

These changes allow building for an x86 target on a x64 host. The changes to the JS glue are an extension of changes we've made in the past for other targets; we have just never run the affected tests for those targets before.


This change is Reviewable

@jdm
Copy link
Member Author

jdm commented Apr 15, 2019

r? @Manishearth since Alan's away this week.

assert!(env::var("VSINSTALLDIR").is_err());
// When cross-compiling on Windows, we need to ensure that the PATH is
// set up appropriately for the target before invoking make.
if env::var("VCVARSALL_PATH").is_err() {

This comment has been minimized.

@Manishearth

Manishearth Apr 15, 2019

Member

.expect()?

@jdm jdm force-pushed the win-cross branch from eeb6338 to cbadf7f Apr 15, 2019
@jdm
Copy link
Member Author

jdm commented Apr 15, 2019

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

📌 Commit cbadf7f has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

Testing commit cbadf7f with merge d59484d...

bors-servo added a commit that referenced this pull request Apr 15, 2019
Support cross-compiling from x64->x86 on Windows.

These changes allow building for an x86 target on a x64 host. The changes to the JS glue are an extension of changes we've made in the past for other targets; we have just never run the affected tests for those targets before.

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

bors-servo commented Apr 15, 2019

💔 Test failed - checks-travis

@bors-servo
Copy link
Contributor

bors-servo commented Apr 15, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: Manishearth
Pushing d59484d to master...

@bors-servo bors-servo merged commit cbadf7f into master Apr 15, 2019
5 checks passed
5 checks passed
Travis CI - Branch Build Passed
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
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

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