Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse rustup.rs instead of custom bootstrap #19395
Conversation
highfive
commented
Nov 27, 2017
|
Heads up! This PR modifies the following files:
|
|
Before this can land:
This is pretty bad since
r? @jdm |
|
|
|
With this PR running To not have |
|
Our Appvey and TravisCI are missing rustup; test-tidy is failing; and test-wpt is broken because ensure_bootstrapped was removed. |
|
Thanks. I pushed something to try to fix these immediate issues, but as I mentioned we’re still waiting on a new rustup release. |
99377c9
to
ae1e125
| ['git', 'show', '%s:%s' % (commit_hash, toolchain_file)]) | ||
| old_toolchains.append(toolchain.strip()) | ||
|
|
||
| remove_anything = False |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| - rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain none | ||
| - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin | ||
| - rustc -V | ||
| - cargo -V |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SimonSapin
Nov 28, 2017
Author
Member
It looks like this caches the .servo directory including the extracted rustc and cargo downloaded by mach. Do we want to cache toolchains downloaded by rustup?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
|
|
|
Rustup release is blocked on rust-lang/rustup#1305 |
|
Added a commit to unblock by not using the new rustup feature. @bors-servo try |
|
@bors-servo try |
Use rustup.rs instead of custom bootstrap Fixes #11361, closes #18874, fixes #19365. <!-- 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/19395) <!-- Reviewable:end -->
|
|
To make sure we’re indeed running rustup’s proxy rather than some other `cargo` for example, run the `rustup` executable with a different `argv[0]`.
|
@bors-servo r=jdm |
|
|
Use rustup.rs instead of custom bootstrap Fixes #11361, closes #18874, fixes #19365. <!-- 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/19395) <!-- Reviewable:end -->
|
|
Closes #16710, which was actually fixed by 6dff251 in #19395. This exercises that fix. Green AppVeyor build: https://ci.appveyor.com/project/servo/servo/build/1.0.24124
SimonSapin commentedNov 27, 2017
•
edited
Fixes #11361, closes #18874, fixes #19365.
This change is