motorailgun
6a80874687
fix(tests): rename HOST_TRIPLE placeholder to HOST_TUPLE
2026-04-24 08:42:25 +00:00
motorailgun
137c5ec11b
fix(tests): rename this_host_triple() to this_host_tuple()
2026-04-24 08:42:25 +00:00
motorailgun
1c7ba07ecc
fix(init): rename triple to tuple to reflect the new terminology
2026-04-24 08:42:25 +00:00
taufiqrahman
0cfb8801c0
Improve error message for incomplete toolchains
2026-04-23 07:45:46 +00:00
taufiqrahman
ee831f8433
Make component removal best-effort and preserve single-error behavior
2026-04-11 19:27:14 +00:00
James Munns
9b6b629804
Use cc-rs to detect the default linker, instead of assuming cc
2026-04-10 23:02:35 +00:00
rami3l
11e1e91412
fix(dist/manifestation): fix log format when installing exactly 2 components
2026-04-04 10:52:16 +00:00
Francisco Gouveia
38943b936f
feat(toolchain): run a pre-check before updating all toolchains
2026-03-31 18:01:13 +00:00
rami3l
85653a3d5b
fix(dist/manifestation): use full toolchain name in Update::unavailable_components()
2026-03-23 08:52:12 +00:00
Francisco Gouveia
58e6f99a43
Avoid warning about the existence of a settings.toml on a fresh install
2026-03-15 17:39:30 +00:00
rami3l
b31a00009b
dist(rustup-init/sh): update commit shasum in help string
2026-03-04 22:01:17 +00:00
Ed Page
2bccc3f138
fix(cli): Style CLI errors in init mode
...
By rolling back `tracing-subscriber` for now
Fixes #4731
2026-03-03 19:57:58 +00:00
Ed Page
6c154393d7
test: Add unknown arg init test
2026-03-03 19:57:58 +00:00
rami3l
9e34f55c3e
fix(cli/self-update): unify check_*update*()'s message formats
2026-02-27 19:50:43 +00:00
Francisco Gouveia
de46bab7e7
feat(toolchain): add --override to override toolchain as soon as installed
2026-02-24 13:23:44 +00:00
appleGun22
ac5a50f178
feat(cli/rustup-mode): add "Exit status" section to rustup check --help
2026-02-03 10:41:39 +00:00
Xiangfei Ding
5341187272
Add common commands section in help text
...
Judging from user feedback coming out of Debian
distros, it appears that after installing `rustup`
from the package manager it is not immediately
clear which command installs the toolchain.
This patch adds a small text so that after
installation of `rustup`, which normally does not
invoke the toolchain installation for the user,
the user can still receive guidance on how to set
up the local toolchain immediately.
Signed-off-by: Xiangfei Ding <dingxiangfei2009@protonmail.ch >
2026-01-31 20:47:25 +00:00
rami3l
6f355cefe6
fix(cli/rustup-mode): improve exit code of rustup check
...
This change follows the convention of DNF where `0` is returned when no
updates and `100` when updates are available.
2026-01-31 16:29:26 +00:00
rami3l
c69cfa0e91
refactor(test)!: pass status code directly to SanitizedOutput
2026-01-31 16:29:26 +00:00
rami3l
87b12cdddd
feat(cli/rustup-mode): add doc --rustc-docs to open rustdoc for Rust internals
2026-01-20 10:08:46 +00:00
Frank Steffahn
c74335b240
Remove the mixed singular/plural phrasing as "component(s)"
...
instead, use "components" or "component".
In the singular case also add the name of the component for more consistent
messaging style with other info! outputs about single components.
Added during review: The plural case now also displays
the number of components; and the snapshot tests are being updated.
2026-01-16 22:20:54 +00:00
Akrm Al-Hakimi
d218ca22b3
test: Add test for sequential multi-toolchain uninstall
...
Adds integration test to verify that multiple toolchains can be uninstalled
sequentially without errors, preventing regression of the directory removal
race condition fix.
2026-01-15 12:52:38 +00:00
rami3l
734de17826
test(cli_v2): test error when missing many components on install
2026-01-08 08:42:30 +00:00
rami3l
4352bec0ae
fix(dist): adjust printed newlines in components_missing_msg()
2026-01-08 08:42:30 +00:00
enthropy7
2b4bdbe85d
unified nightly disclaimer wording/styling; preserved distinct messages per scenario
2026-01-07 17:01:36 +00:00
Tshepang Mbambo
dbf86b937a
change test name to match new terminology
2025-12-24 09:36:06 +00:00
Tshepang Mbambo
7f771dbb53
rename file to match new terminology
2025-12-24 09:36:06 +00:00
Tshepang Mbambo
a3dc4d79a3
change 'target triple' to 'target tuple'
2025-12-24 09:36:06 +00:00
Akrm Al-Hakimi
065c2a279a
fix(toolchain): forbid toolchain names starting with +
...
When users accidentally use '+stable' with 'rustup run', we now provide a message instructing them to remove the '+' prefix.
2025-12-19 21:12:40 +00:00
Josh Stone
c75045d04f
cli: add doc --releases to open release notes
2025-12-15 21:18:31 +00:00
rami3l
55e46a33f8
dist(rustup-init/sh): update commit shasum in help string
2025-12-11 16:15:26 +00:00
rami3l
a1b2ad14f3
test(static-roots): use a more compact syntax for raw binaries
2025-12-08 19:10:58 +00:00
rami3l
e50adb013a
test(static-roots): return Result from store_static_roots()
2025-12-08 19:10:58 +00:00
Dirkjan Ochtman
1f2c3aaed3
download: statically bundle relevant trust anchors
2025-12-08 13:11:18 +00:00
1
2d9fc7a358
Added xonsh support
2025-12-02 10:59:03 +00:00
Dirkjan Ochtman
36b2713051
dist: store owned temp::Context in Transaction
2025-11-21 20:30:14 +00:00
Dirkjan Ochtman
fc2a9705ac
dist: store specific config bit in Transaction
2025-11-16 13:33:29 +00:00
Dirkjan Ochtman
7435d63340
rustup: unhide top-level install/uninstall commands
2025-11-11 10:57:24 +00:00
nozwock
82cecb7b6a
test: add test for rustup toolchain install --no-update
2025-11-06 22:37:17 +00:00
nozwock
dc66c9e652
feat(rustup-mode): add no_update flag to rustup toolchain install
2025-11-06 22:37:17 +00:00
Dirkjan Ochtman
e3e6d02100
Take semver-compatible dependencies
2025-11-03 08:59:58 +00:00
Dirkjan Ochtman
fcd02c030e
dist: install while downloading
2025-11-02 12:43:54 +00:00
Ed Page
ebee128e06
fix(check): Use Cargo's colors
...
With `rustup check`s colors being testable (#4561 ),
this updates it to match Cargo's colors
2025-10-28 14:09:31 +00:00
Dirkjan Ochtman
ac8ad88eed
dist: discard unnecessary abstraction layer
2025-10-28 12:30:29 +00:00
Dirkjan Ochtman
d676c6f007
rustup: tweak update check output style
2025-10-26 12:31:30 +00:00
Ed Page
59aec45394
fix(list): Match show command's styling
...
This changes the parenthetical from `bold` to `CONTEXT` to match what
was done in #4556 .
This does not remove the bolding of the item itself.
We could do that. I figured its fine for now since there is a clearer
meaning with `installed` than when you can have `active` and `default`
on separate items.
2025-10-25 01:40:52 +00:00
Ed Page
f91ea2e003
test(list): Add UI test
2025-10-25 01:40:52 +00:00
Ed Page
16fcef2e57
fix(toolchain): Have 'list' match 'show's styling
...
`rustup show` and `rustup toolchain list` have similar lists but the
latter was unstyled.
This updates it to be styled to match `rustup show` as of #4556 .
Maybe there would be a way to single source this in the future.
They do handle paths differently, so it would likely require a larger
conversation.
2025-10-24 04:49:01 +00:00
Ed Page
f86ec54b22
test(toolchain): Show list's behavior
2025-10-24 04:49:01 +00:00
Ed Page
aecdee4c7b
fix(update): Match 'cargo update's colors
2025-10-24 03:15:55 +00:00