This update for rustup fixes the following issues
Security issues:
Deriver:derive and PkeyCtxRef:derive can overflow short buffers on OpenSSL 1.1.1
(bsc#1270186).CipherCtxRef::cipher_update_inplace for AES-KW-PAD ciphers in rust-
openssl crate (bsc#1270989).Non security issue:
Changes for rustup:
Update to version 1.28.2~0:
rustup component removeNu::rcfiles()env.nu due to deprecationpath add in env.nu templateenv.nu templateRUSTUP_VERSIONRUSTUP_VERSION during installationRUSTUP_VERSION for arbitrary
downgradesConfig::expect_ok_ex_env()RustupError::ToolchainNotInstalledcursor: pointer for copy button on websitecargo instructionsUpdate to version 1.28.1~0:
Cfg::local_toolchain() with optional opt-outConfig::expect_err_env()Cfg::find_active_toolchain() with optional opt-outCHANGELOG for v1.28.0 releaseEXE_SUFFIX in Config::cmdTryFrom<Output> for SanitizedOutput(before|after)_test_async() with TestProcess::_telemetry_guardGlobalTelemetryGuardTestProcess::_guard to _tracing_guardunsafe-op-in-unsafe-fn(add|remove)_var()ref keywordsif-letclippy warningsComponentPart::encode()ComponentPartKindComponentPart::decode()ComponentPart's fields into named onesREL_MANIFEST_DIRComponentPart::(en|de)code()datasourcerenovatebot bump locked mdbookmdbook to 0.4.43stable job listuser-guideaarch64-unknown-linux-gnutest-docsmdbook with install-actionclippy warningswasm32-wasirustup show active-toolchainrustup show active-toolchain exit with 1 when none is activerustup default exit with 1 when there's no defaultrustup doc --error_codes to --error-codesrustup show's --verbose behavior with rustup show active-toolchainrustup show active-toolchain --verbosefor_host*!()cargo-all-features$_os_major$_os_versionbindgen-cli installation into run.bashloongarch64-unknown-linux-musl buildsreqwest-rustls-tls for unsupported platformsgcc-multilib and libclang for some *nix buildsaws-lc-rs and aws-lc-sysawscli via chocotopical_doc_data::TEST_CASESrustup doc with both a flag and a topicToolchain::doc_path()Toolchain::doc_path()Toolchain::doc_path()doc_url to doc_pathDocPage::path() return Option<&Path>DocPage::name() to a separate impl blockdoc().num_args() when .value_delimiter(',') is present.use_value_delimiter()rustup docdocs_data![]mod declarations below the importsutils::utils into utilssettings.tomlcheck_existence_of_rustc_or_cargo_in_path()dbg!() across rustup::testeprintln!() with debug!()clippy::(dbg_macro|todo) across the workspaceclippy::print_std(err|out) when applicableworkspace.package properties in Cargo.tomlshellcheck SC2086 false positiveswinreg dependency--force-non-hosttoolchain: String in warn_if_host_is_incompatible()--force-non-host to rustup defaultforce_non_host flag to Cfg::ensure_installed()forced to force_non_hostINFO/DEBUG on --quiet/--verbose if RUSTUP_LOG is unsetupdate_console_logger()--quietDEBUG on --verbose if RUSTUP_LOG is unsetverbose flag in several placesfind_or_install_active_toolchain()LocalToolchainName from find_or_install_active_toolchain()resolve_toolchain()toolchain_from_partial()rustup doc to search for unionsupdate_removed_component_toolchain()stable and beta in components_missing_msg()components_missing_msg()components_missing_msg()Component::try_new()awscli from brewtoolchain_from_partial() synctoolchain_from_partial()resolve_toolchain() syncresolve_toolchain()heal_damaged_toolchain()local_toolchain() from resolve_local_toolchain()toolchain variable from resolve_local_toolchain()resolve_local_toolchain() syncresolve_local_toolchain()local_toolchain() to resolve_local_toolchain()rustup toolchain installrustup toolchain uninstallensure_active_toolchain flag to update()verbose flag to find_or_install_active_toolchain()dist::Profile with Profiledist::TargetTriple with TargetTriplewarn_if_host_is_incompatible() in ensure_installed()warn_if_host_is_incompatible()warn_if_host_is_incompatible()install_if_not_installed() with ensure_installed()verbose flag to ensure_installed()UpdateStatus from ensure_installed()Cfg::get_profile() for unspecified profile in ensure_installed()#[tracing::instrument] to ensure_installed()aws-lcchocoif predicateaws-lc instead of ringreorder_keys for *dependencies in Cargo.tomlrustup_macrosrustup::processonce_cell dependencyclippy lintsbrew install rustup instead of rustup-initautomergepowrprofbuild.rsExitCode #[must_use]ExitCode::bitand*()ExitCode(1) when update() failsExitCode in self_update()'s callbackversion_mentions_rustc_version_confusion()rustup --versionrustup --versionautomerge schedule for lockFileMaintenancetaplo fmt test for TOMLstaplo--quiet from git diff#[cfg()] instead of cfg!() when possibledo_pre_install_sanity_checks#[tracing::instrument(err)] to TRACEtracing::instrument from behind feature = 'otel'prCreation to immediatedist_root_server()let-else in dl_v2_manifest()Notification::ManifestChecksumFailedHackInstallMethod::install--no-default-features --features=curl-backendWARN on -q if RUSTUP_LOG is unsetrustup-init.shTestContextrustup update/uninstall selfrustls-platform-verifiercargo all-featuresunused_imports warningsclap error formatRUSTUP_LOG and console-based tracingPartialVersionPartialVersion string doesn't start with an ASCII digit-D warnings to cargo check-all-featuresunused_imports warningsunused_imports warnings\d to [0-9] to avoid matching non-ASCII digitstoolchain_sort with ToolchainName's Ord instanceToolchainDesc.channel more strongly typedTELEMETRY_DEFAULT_TARCER singleton with a functionrun_inprocess()armv7 if /proc/cpuinfo is unavailable/proc/self/exe in rustup-init.sh[Ww]arning: log line prefix with warn:NotificationLevel::Debug to Trace and Verbose to Debugdist::dist into distdist::distTODO in src\toolchain\toolchain.rsActiveReasonRUSTUP_LOG for internal tracing instead of RUST_LOGArc::default()TestProcess.guard to _guard.eq_ignore_ascii_case() in ColorableTerminal::newNotificationLevel on verbosityRUSTUP_DEBUG in favor of RUST_LOGconsole_logger() accept RUSTUP_TERM_COLOR and NO_COLORlog using tracingbefore_test_async()tracing-subscriber a hard requirementtracing subscriber in before_test_async()run_inprocess()#[rustup_macros::unit_test]s within a tokio contexttelemetry()target_cargo() in run.bashdist::triple::known is up to date with platformsdist::triple::known in toolchain::namesdist::triple::knownplatforms to verify RUSTUP_OVERRIDE_BUILD_TRIPLE--quiet to rustup (target|component) list--quiet to rustup toolchain listhyper hang issue by adjusting reqwest configMutex in asyncBetaTag with mock test datarun_future() under manifestationcreate_command_for_toolchain() asyncupdate_all_channels() asyncmaybe_install_rust() asyncensure_installed asyncmingw via bwoodsend/setup-winlibs-actionx86_64-pc-windows-gnumacos-latest instead of macos-14#[cfg()] usages with a new modhandle_epipe() call out of the matchrustup itself with clap-deriverustup (self|set) with clap-deriverustup (man|completions) with clap-deriverustup doc with clap-deriverustup (run|which|dump-testament) with clap-deriverustup override with clap-deriverustup component with clap-deriverustup target with clap-deriverustup (check|default) with clap-deriverustup (toolchain|update|(un)?install) with clap-derivedeprecated()rustup show with clap_deriverustup-init[.sh] argsrust-toolchain.toml custom TCrustup default not error if no defaulttoolchain listshow and show active-toolchainnew_toolchain_with_reason()ensure_installed()if statement in cli::setup_mode::main()rustup-init with clap_derivetest featureinvalid peer certificate: UnknownIssuerreqwest/rustls the new defaultDownloadCallBack in download_with_backend()i686-linux-android due to OpenSSL v3 atomic issuesperl-IPC-Cmd to make OpenSSL v3 happyUpdate to version 1.27.1~0:
rustup-init.sh, take 2pip3 to install awsclipip3 to install awsclirustup-init.shchangelog_helper scriptrustup version to 1.27.1get_path() impl on Unixwith_saved_reg_value()(get|restore)_reg_value()with_saved_global_state()std::io#[cfg(not(unix))] usages with #[cfg(windows)]do_update_programs_display_version() on run_update()get_and_parse_new_rustup_version()do_update_programs_display_version()environment-variablesRUSTUP_DIST_* if it's setRUSTUP_UPDATE_ROOT if it's setUPDATE_ROOT to DEFAULT_UPDATE_ROOTupdate_root()cargo clippy to linting.mddelete_dir_contents() to delete_dir_contents_following_links()delete_dir_contents() if it's a linkdelete_dir_contents() if it's a link'delete_dir_contents() to delete_dir_contents_or_unlink()'delete_dir_contents() to delete_dir_contents_or_unlink()delete_dir_contents() if it's a linkopen_dir() to open_dir_following_links()O_NOFOLLOW in open_dir()CHANGELOGbug_report issue template*.sha256 files on *nixstable Rust for all clippy lintscargo clippy on *-windows-gnuFish::update_rcsrelease-process.md to match the new workflow based on GitHub Merge QueueMACOSX_DEPLOYMENT_TARGET and friends. with source in fish shell's source_stringColorableTerminal::resetrenovate/* testsUpdate to version 1.27.0~0:
CHANGELOG for v1.27.0openssl-sys to 0.9.92apt in installation methodsCHANGELOG.mdopenssl-sys to 0.9.92mips*-unknown-linux-gnu* targets from the build.cargo/config to .cargo/config.tomlCHANGELOG.mdrustup-init.sh version to 1.27.0rustup version to 1.27.0changelog_helper scriptis_32bit_userspace()clap::error::ErrorKindmaybe_official_toolchainame_parser with impl FromStris_proxyable_toolsComponentStatushas_at_most_one_targetDistributableToolchain::components()renovate.json to remove version bumps covered by lockfile maintenance PRs, take 3merge_queue to be a PR-like eventmerge_group triggergithub.event_name == 'schedule' instead of github.event.schedulerenovate.json to remove version bumps covered by lockfile maintenance PRs, take 2github.event_name == 'push' instead of github.event.pushci/cirrus-templatesconclusion jobfreebsd-builds to GitHub Actionsci.yamlrenovate.json to remove version bumps covered by lockfile maintenance PRsCargo.toml bump in #3540Cargo.toml bump in #3532Cargo.toml bumpscomponent list --toolchain stableCargo.tomlsemver::Version in toolchain_sorttoolchain_sort's expected behaviortoolchain_sortspecial_version in toolchain_sorttoolchain_sort_key in toolchain_sortsort_by with sort_by_key in toolchain_sorttest_toolchain_sortwindows-gnuTOOLSTATE_MSG to dist to serve toolchain-wide operationsPanics sections to docstringscomponents_*_msgcomponent_unavailable_msgmanifestation logicenv filesshwordsplit to downloader()clippy suggestionspost_install_msg_unix_source_env!()env.fishrust-$TARGET CI Docker imagesclippy suggestionsbrew install rustup-init in the user guideinstall_uninstall_affect_path$HOME/.cargo/envsysctl: unknown oid stderr output and/or non-zero exit codeRUSTUP_TERM_COLOR's value case insensitiveRUSTUP_TERM_COLORRUSTUP_TERM_COLOR as an override environment variableuname -m can lie due to Rosetta shenanigansnum_cpuscrateclippy::arc_with_non_send_sync#[warn(clippy::useless_vec)]#[warn(clippy::needless_borrow)]#[warn(clippy::useless_conversion)]#[warn(clippy::redundant_pattern_matching)]#[warn(clippy::redundant_field_names)]