Uh oh!
There was an error while loading. Please reload this page.
Update to the Rusty rust-installer - #41843
Conversation
cuviper
commented
May 8, 2017
All of the generated dist tarballs look sane to me, and seem to install manually just fine. However, this does fail one bootstrap test: I think that may just be a reflection of the fact that "dist" now depends on a rust-based tool, but I'd like a second opinion before I go clobbering that test into submission. cc @brson This re-introduces the file-sorting optimization in the tarballs, so if there's a way to test rustup against this, we should. I'm now writing all directory names in the tarball before the sorted file list, so hopefully that will be enough to avoid a recurrence of rust-lang/rustup#1092. |
There was a problem hiding this comment.
Oh here (and in other steps) I think you'll want to lock the Step here to build.config.build for both the host and the target triple, that's the architecture we want to build the tool for (as we're running it here, not packaging it)
alexcrichton
commented
May 9, 2017
If you've got a checkout locally you may also want to run |
bors
commented
May 9, 2017
☔ The latest upstream changes (presumably #41846) made this pull request unmergeable. Please resolve the merge conflicts. |
cuviper
commented
May 9, 2017
|
alexcrichton
commented
May 9, 2017
@bors: r+ How exciting! |
bors
commented
May 9, 2017
📌 Commit 8eaff4d has been approved by |
frewsxcv
commented
May 10, 2017
It looks like this fails on WIndows @bors r- https://ci.appveyor.com/project/rust-lang/rust/build/1.0.3199/job/21w6ovbl6nycrmcv |
cuviper
commented
May 10, 2017
Hmm, OK, I'll have to take a closer look at what |
cuviper
commented
May 10, 2017
OK, I removed most of the |
alexcrichton
commented
May 10, 2017
@bors: r+ |
bors
commented
May 10, 2017
📌 Commit 2729b71 has been approved by |
…richton Update to the Rusty rust-installer This updates the rust-installer submodule to the new version written in Rust (rust-lang/rust-installer#62), now moved to `src/tools/rust-installer` and invoked in `dist.rs` as a cargo-based tool command. All of the former shell-script invocations now invoke the tool, otherwise keeping the same arguments as before. As a small bonus, `rustc-src` now also uses the same tarball generator, so it gains a smaller `.tar.xz` too. Fixesrust-lang#41569. r? @alexcrichton
1 similar comment
cuviper
commented
May 11, 2017
Hmm, it's a link error? I'm confused by this, as it built fine in the previous appveyor run, and I didn't change rust-installer itself since then. Has something else changed in the Windows build system? |
alexcrichton
commented
May 11, 2017
Oh I think that's a legitimate bug with the lzma-sys crate, it's right now apparently not compatible with |
alexcrichton
commented
May 11, 2017
Looks like a fix was indeed needed, once that passes CI I'll publish to crates.io and you can update the dep here |
cuviper
commented
May 11, 2017
@alexcrichton I noticed that alexcrichton/xz2-rs#2 changed the VS version, which hasn't reached crates.io yet. Will that be a problem here? |
Mark-Simulacrum
commented
May 13, 2017
I suspect this failure in the rollup was caused by this PR. @bors r- |
cuviper
commented
May 13, 2017
Do you have the full appveyor log? or a link to that build? |
cuviper
commented
May 13, 2017
Oh, I see. This is due to an off-hand optimization I made in rewriting I don't love that sort of implicit expectation, but I'll go revert that part in rust-installer with a comment about this behavior. The alternative is to just extract them again explicitly -- which is also tempting. |
cuviper
commented
May 13, 2017
Hmm, or they could get components from the combined location. I think I like that better, if it works... |
cuviper
commented
May 13, 2017
OK, updated rust-installer to stop moving component dirs. cc @Keruspe the submodule update now includes your changes too. |
bors
commented
May 14, 2017
☔ The latest upstream changes (presumably #41987) made this pull request unmergeable. Please resolve the merge conflicts. |
Mark-Simulacrum
commented
May 14, 2017
@cuviper Looks like you'll need to rebase to fix the merge conflict on Cargo.lock. |
ranma42
commented
May 14, 2017
Also let me warn you in advance about alexcrichton/xz2-rs#4 |
This gives us an extra rustc-src.tar.xz, which is 33% smaller than the .tar.gz!
There's no shell interpreting the file paths under the new Rusty rust-installer, so we don't need to use `sanitize_sh` for it. Plus, the drive-letter transformation is actually harmful for the now-native Windows rust-installer to understand those paths.
cuviper
commented
May 15, 2017
OK, rebased, and I squashed the trivial dependency fixups. I have included lzma-sys 0.1.3 as suggested. |
alexcrichton
commented
May 15, 2017
@bors: r+ |
bors
commented
May 15, 2017
📌 Commit 1e709fc has been approved by |
bors
commented
May 15, 2017
Update to the Rusty rust-installer This updates the rust-installer submodule to the new version written in Rust (rust-lang/rust-installer#62), now moved to `src/tools/rust-installer` and invoked in `dist.rs` as a cargo-based tool command. All of the former shell-script invocations now invoke the tool, otherwise keeping the same arguments as before. As a small bonus, `rustc-src` now also uses the same tarball generator, so it gains a smaller `.tar.xz` too. Fixes#41569. r? @alexcrichton
bors
commented
May 16, 2017
☀️ Test successful - status-appveyor, status-travis |
This updates the rust-installer submodule to the new version written in Rust (rust-lang/rust-installer#62), now moved to
src/tools/rust-installerand invoked indist.rsas a cargo-based tool command. All of the former shell-script invocations now invoke the tool, otherwise keeping the same arguments as before.As a small bonus,
rustc-srcnow also uses the same tarball generator, so it gains a smaller.tar.xztoo.Fixes#41569. r? @alexcrichton