Skip to content

[pull] master from rust-lang:master#5

Open
pull[bot] wants to merge 114 commits intomajacQ:masterfrom
rust-lang:master
Open

[pull] master from rust-lang:master#5
pull[bot] wants to merge 114 commits intomajacQ:masterfrom
rust-lang:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Feb 23, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

creekorful and others added 12 commits October 18, 2020 09:19
Before that the behavior on Windows when running rustup-init
without having build tools installed was to continue.

Now the user need to explicitly choose to continue installation,
and thus we are making sure they are carefully reading the warning
message.

Closes: #2514
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
In preparation for adding zstd support to rustup, this rework
means that we treat compression formats we have available (and know)
generically without breaking if unexpected formats are present,
or if no format we know is present.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
compression: Refactor handling of compression formats
Handle modifying rc files that don't have a trailing newline
@atomist atomist Bot added auto-branch-delete:on-close Delete branch when pull request gets closed auto-merge-method:merge Auto-merge with merge commit auto-merge:on-bpr-success Auto-merge on passed branch protection rule labels Feb 23, 2021
@pull pull Bot added ⤵️ pull and removed auto-branch-delete:on-close Delete branch when pull request gets closed auto-merge-method:merge Auto-merge with merge commit auto-merge:on-bpr-success Auto-merge on passed branch protection rule labels Feb 23, 2021
kinnison and others added 10 commits February 23, 2021 19:08
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
If the manifest contains zst_tar and zst_hash then treat them
as ZStd compressed data.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This is needed so that proxy commands (like `cargo` -> `rustc`) will
continue to use the path toolchain.
0xPoe and others added 28 commits April 28, 2021 00:47
Add the missing tools for valid_proxy_names
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Add ToolchainComponentsMissing error msg
show active-toolchain with rustc info
Give a better error when std is missing for a target
anyhow provides significantly better error tooling than error_chain,
without the derivation support, thiserror fills that gap.
SyncError provides adaption to wrap around error_chain, both where we
use it, and if any libraries rustup is using use it. Once introduced we
can start incrementally migrating function and error at at time to
anyhow without requiring a single big bang commit.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The main UI impact is that using the anyhow formatters removes some
custom code at a slight UI change - rather than repeating the err! macro
output around each item in the backtrace, we get it just once (see the
comment in common.rs).
anyhow instead of error_chain
There were a few error paths missed since they're only used in
rare cases or unusual platforms (e.g. ones which do not support `ring`)

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
…rocess

Make some pub structs/functions crate-public
Diagnosis by Daniel. Code by Robert.
Fixes #2748 by filling the streaming buffers fully
download: Fix some error paths for anyhow
@delete-merged-branch delete-merged-branch Bot deleted the branch majacQ:master May 4, 2021 21:28
@marcoieni marcoieni deleted the branch majacQ:master October 3, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.