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 --features vslatestinstalled #205

Merged
merged 1 commit into from Oct 1, 2019
Merged

Conversation

@saschanaz
Copy link
Contributor

saschanaz commented Oct 1, 2019

Closes #204

This supports opting out --with-visual-studio-version=2017 by --features vslatestinstalled.

The name is from the script behavior:

else:
# Choose the newest version.
path = all_versions[-1][1]

(My original idea was to do --with-visual-studio-version=2019 but the option currently only support 2017 as its value.)


This change is Reviewable

@jdm
Copy link
Member

jdm commented Oct 1, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2019

📌 Commit f54e21a has been approved by jdm

bors-servo added a commit that referenced this pull request Oct 1, 2019
Support --features vslatestinstalled

Closes #204

This supports opting out `--with-visual-studio-version=2017` by `--features vslatestinstalled`.

The name is from the script behavior:

https://github.com/servo/mozjs/blob/b2f83932fe9d361face14efd03f2465b9262e687/mozjs/build/moz.configure/toolchain.configure#L650-L652

(My original idea was to do `--with-visual-studio-version=2019` but the option currently only support `2017` as its value.)

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

bors-servo commented Oct 1, 2019

Testing commit f54e21a with merge dd175ee...

@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2019

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

@bors-servo bors-servo merged commit f54e21a into servo:master Oct 1, 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
@jdm
Copy link
Member

jdm commented Oct 1, 2019

https://github.com/servo/rust-mozjs/blob/8e99da18185a92a5c10bc7e4bd5249bb9f9c3d84/Cargo.toml#L55 will need to be updated next as well as adding the cargo feature to forward it to this crate.

@saschanaz saschanaz deleted the saschanaz:vs2019 branch Oct 2, 2019
bors-servo added a commit to servo/rust-mozjs that referenced this pull request Oct 2, 2019
Support `--features vslatestinstalled`

Matches servo/mozjs#205

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/477)
<!-- 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.

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