Uh oh!
There was an error while loading. Please reload this page.
Fix rust-src component. - #74578
Conversation
ehuss
commented
Jul 21, 2020
As a followup PR I'd like to look at somehow adding a check so that this particular issue (symlinks) doesn't happen again in the future. I'm not sure where the best place would be to check for that. Maybe in As for the bigger issue where "rust-src" isn't usable, do you think it is feasible to add a test for that? I'd be reluctant because I can't think of a really stable way to check that. I'm not sure I'd want to gate rust-lang/rust on cargo's build-std feature right now. Maybe there is some other check that would be reasonable? If not, we can probably continue without; it doesn't break too often. |
rbtcollins
commented
Jul 21, 2020
So generally speaking symlinks can't be used on windows without toggling on 'developer mode' - it would be nice to actually remove the symlinks from the tree entirely IMO, though I recognise that that is a larger change. |
Mark-Simulacrum
commented
Jul 21, 2020
@bors r+ p=1 Approving, though I agree this seems like a suboptimal fix in the long run. I think we should consider automatically "delinking" any symlinks we find or something like that. |
bors
commented
Jul 21, 2020
📌 Commit 79673d3 has been approved by |
bors
commented
Jul 21, 2020
⌛ Testing commit 79673d3 with merge 0b66800a2cfb407c917a83451238298ac22b5245... |
bors
commented
Jul 21, 2020
💔 Test failed - checks-azure |
ehuss
commented
Jul 21, 2020
@bors retry macOS x86_64-apple on azure |
bors
commented
Jul 21, 2020
⌛ Testing commit 79673d3 with merge be0c64997c1881943ccfd2220eeef831d12be12e... |
bors
commented
Jul 21, 2020
💥 Test timed out |
ehuss
commented
Jul 21, 2020
@bors retry |
bors
commented
Jul 22, 2020
conikeec
commented
Jul 22, 2020
Any update on this PR ? I filed rust-lang/rustup#2434 which in turn is blocked on this. All updates are failing at this point. |
bors
commented
Jul 22, 2020
☀️ Test successful - checks-actions, checks-azure |
RalfJung
commented
Jul 22, 2020
|
mati865
commented
Jul 22, 2020
If Miri tests don't take too long maybe they could be moved to new builder that starts right when Linux dist finishes. It would install Rust (with proper components) from AWS and then run Miri tests. Don't know if it's possible/feasible though. |
The rust-src component could not be installed by rustup because it included some symbolic links. #74520 added the backtrace directory which included some symlinks. Since the rust-src component doesn't need most of the files in the
backtracesubmodule, this changes it to only include the minimum necessary.Tested with cargo's build-std that it can build from the resulting tarball.
Fixes#74577