Commit Graph

  • efa576d8fb implements quiet flag in rustup-init.sh vic1707 2024-06-23 18:37:24 +02:00
  • ad668d9a3b test(manifestation): introduce and migrate tests to TestContext rami3l 2024-06-27 10:47:55 +08:00
  • 7b0fef05af chore(manifestation): organize imports rami3l 2024-06-27 17:54:20 +08:00
  • 129d147db9 chore(deps): lock file maintenance renovate[bot] 2024-06-27 06:43:21 +00:00
  • a45f1d6607 chore(deps): lock file maintenance renovate[bot] 2024-06-26 15:26:57 +00:00
  • 6ef6468f53 chore(deps): lock file maintenance renovate[bot] 2024-06-26 14:09:41 +00:00
  • f48df22e9d add regression tests for smart guess Xerxes-2 2024-06-26 17:51:49 +10:00
  • af0867ba10 apply smart guess to rustup update/uninstall self Shupeng Xue 2024-06-25 13:17:40 +10:00
  • d4bbf6cb74 Disable automatic self updates in CI environments Dirkjan Ochtman 2024-06-25 10:38:06 +02:00
  • fb662c5609 feat(download/rustls): use rustls-platform-verifier rami3l 2024-06-25 10:40:02 +08:00
  • d85502cabc ci(windows): run cargo all-features rami3l 2024-06-25 11:02:01 +08:00
  • 0a0c6de04c fix(self-update/windows): address some unused_imports warnings rami3l 2024-06-25 11:12:57 +08:00
  • 35285c970e fix(rustup-mode): improve clap error format rami3l 2024-06-25 14:01:30 +08:00
  • 20a1c81445 Add period in warning while checking existing rust installations Lorenzo Zabot 2024-06-24 12:18:46 +02:00
  • 78426c96d9 Move Windows-only test code into windows module Dirkjan Ochtman 2024-06-22 14:58:28 +02:00
  • 2b13b2b596 Asyncify CLI tests Dirkjan Ochtman 2024-06-19 22:21:19 +02:00
  • f3b45f280e Use guard type to replace with_saved_path() Dirkjan Ochtman 2024-06-22 13:39:04 +02:00
  • 61cadf9ab4 Refactor test registry state to be more type safe Dirkjan Ochtman 2024-06-22 13:22:46 +02:00
  • 14eeb70a10 Inline single-use with_saved_global_state() function Dirkjan Ochtman 2024-06-22 11:22:32 +02:00
  • 1222fef01d Privatize with_saved_global_state() Dirkjan Ochtman 2024-06-22 11:14:44 +02:00
  • f73d28713b Move change_dir() into CliTestContext Dirkjan Ochtman 2024-06-19 21:55:59 +02:00
  • 29287aa23b Move with_update_server() into CliTestContext Dirkjan Ochtman 2024-06-19 21:08:17 +02:00
  • 39a4c5f4f0 Remove Config::with_scenario() Dirkjan Ochtman 2024-06-19 14:12:36 +02:00
  • 3cc909514b Port cli_v2 to CliTestContext Dirkjan Ochtman 2024-06-19 13:46:54 +02:00
  • 0df0727773 Port cli_v1 to CliTestContext Dirkjan Ochtman 2024-06-19 13:22:37 +02:00
  • 975d11b00b Port cli_self_upd to CliTestContext Dirkjan Ochtman 2024-06-19 13:11:09 +02:00
  • c27a39fe60 Port cli_rustup to CliTestContext Dirkjan Ochtman 2024-06-19 12:44:25 +02:00
  • 66f262927b Port cli_paths to CliTestContext Dirkjan Ochtman 2024-06-18 22:43:21 +02:00
  • 1b1bb30315 Port cli_misc to CliTestContext Dirkjan Ochtman 2024-06-18 22:21:38 +02:00
  • 8a60ece39e Port cli_inst_interactive to CliTestContext Dirkjan Ochtman 2024-06-18 18:36:31 +02:00
  • 58ed8fd088 Port cli_exact to CliTestContext Dirkjan Ochtman 2024-06-18 18:17:25 +02:00
  • 1dd5aaa469 Use CliTestContext directly in self_update_setup() Dirkjan Ochtman 2024-06-18 18:10:56 +02:00
  • a90ce171cb Start CliTestContext type wrapper Dirkjan Ochtman 2024-06-18 18:08:46 +02:00
  • 6eb71e956e docs(dev-guide/tracing): mention RUSTUP_LOG and console-based tracing rami3l 2024-06-16 20:32:13 +08:00
  • 97c64ccb8e docs(dev-guide/linting): improve wording rami3l 2024-06-16 20:03:04 +08:00
  • 4c3ff9ce63 test(dist): add simple tests for PartialVersion rami3l 2024-06-20 17:44:35 +08:00
  • eee65dbb3c chore(dist): add some doc comments rami3l 2024-06-20 17:14:14 +08:00
  • 71e1581252 fix(dist): throw an error when a PartialVersion string doesn't start with an ASCII digit rami3l 2024-06-20 16:30:18 +08:00
  • 605b3c4f2b ci(all-features): add -D warnings to cargo check-all-features rami3l 2024-06-20 15:13:11 +08:00
  • 9b93078886 fix(currentprocess/filesource): address some unused_imports warnings rami3l 2024-06-20 15:09:42 +08:00
  • 6e1533d4a6 fix(currentprocess): address some unused_imports warnings rami3l 2024-06-20 15:08:56 +08:00
  • 8ca641f775 fix(regex): replace \d to [0-9] to avoid matching non-ASCII digits rami3l 2024-06-18 22:50:05 +08:00
  • 94450a6a0e refactor(toolchain/names): replace toolchain_sort with ToolchainName's Ord instance rami3l 2024-06-18 20:29:47 +08:00
  • 27e41b17ba refactor(dist)!: make ToolchainDesc.channel more strongly typed rami3l 2024-06-18 20:23:42 +08:00
  • b46ef15b96 Remove unnecessary lint suppressions Dirkjan Ochtman 2024-06-18 12:12:21 +02:00
  • 1524dcf078 Use local suppression for clippy::too_many_arguments Dirkjan Ochtman 2024-06-18 12:08:45 +02:00
  • 4c2bbb6989 Rename desc fields to toolchain Dirkjan Ochtman 2024-06-18 12:05:02 +02:00
  • f55fba1c51 Remove intermediate state from error handling Dirkjan Ochtman 2024-06-18 12:01:47 +02:00
  • 0f27d6e196 Remove indirection in update error handling Dirkjan Ochtman 2024-06-18 11:59:52 +02:00
  • e23074871c Inline wrapper function Dirkjan Ochtman 2024-06-18 11:55:55 +02:00
  • 5e05b7d4f0 Reduce rightward drift Dirkjan Ochtman 2024-06-18 11:52:15 +02:00
  • 9d34fd5c53 Propagate use of DistOptions Dirkjan Ochtman 2024-06-18 11:46:29 +02:00
  • 87a37ce024 Avoid unnecessary unwrapping Dirkjan Ochtman 2024-06-18 11:38:28 +02:00
  • f30518b635 Extract struct from InstallMethods::Dist variant Dirkjan Ochtman 2024-04-09 17:02:08 +02:00
  • fd201e416b refactor(log): replace the TELEMETRY_DEFAULT_TARCER singleton with a function rami3l 2024-06-18 10:49:04 +08:00
  • f66952ce62 test(clitools): revive run_inprocess() rami3l 2024-06-16 20:35:30 +08:00
  • 02b148f240 fix(dist/arm): don't assume armv7 if /proc/cpuinfo is unavailable rami3l 2024-05-01 14:20:33 +08:00
  • 826433b463 fix(dist): add fallbacks to /proc/self/exe in rustup-init.sh rami3l 2024-05-01 11:35:03 +08:00
  • e7baa2de46 Rename default-tls to native-tls Dirkjan Ochtman 2024-06-17 10:37:12 +02:00
  • f5d4066379 Inline small errors module Dirkjan Ochtman 2024-06-17 10:31:01 +02:00
  • 3a4d8988b0 Inline addition/removal to programs Dirkjan Ochtman 2024-06-17 13:51:51 +02:00
  • 096a517914 Move windows-only self_update code into windows module Dirkjan Ochtman 2024-06-17 13:46:50 +02:00
  • 615424b385 Reorganize platform-dependent imports in self_update Dirkjan Ochtman 2024-06-17 11:54:00 +02:00
  • 6ad9ed53e6 refactor(log): replace [Ww]arning: log line prefix with warn: rami3l 2024-06-17 22:34:42 +08:00
  • b9011bfd15 refactor(log): rename NotificationLevel::Debug to Trace and Verbose to Debug rami3l 2024-06-17 22:29:01 +08:00
  • 36657c7a15 Remove unused code Dirkjan Ochtman 2024-06-17 13:30:57 +02:00
  • 1eb4de7b02 Hoist Toolchain up into top-level toolchain module Dirkjan Ochtman 2024-06-16 14:58:37 +02:00
  • a7e882b9c3 Remove unused derived sorting implementations Dirkjan Ochtman 2024-06-16 14:55:30 +02:00
  • 3ea403096a Privatize internal organization of toolchain module Dirkjan Ochtman 2024-06-16 14:39:48 +02:00
  • a29b9959fa Inline argument Dirkjan Ochtman 2024-06-16 14:30:38 +02:00
  • 36f0544a37 Inline trivial wrapper Dirkjan Ochtman 2024-06-16 14:28:59 +02:00
  • 30c2900501 Move toolchain resolution into Cfg method Dirkjan Ochtman 2024-06-16 14:23:31 +02:00
  • 4d4fdc9561 Check settings version on Cfg construction Dirkjan Ochtman 2024-06-16 13:45:31 +02:00
  • 2c58dcab44 Move proxy toolchain resolution logic into Cfg method Dirkjan Ochtman 2024-06-16 13:42:20 +02:00
  • 8f1a1a16fc Move rustc_version() function into Cfg Dirkjan Ochtman 2024-06-16 13:35:17 +02:00
  • 7d8caa7299 Expose higher-level interface in Toolchain Dirkjan Ochtman 2024-06-14 11:51:23 +02:00
  • be1cfa53f9 Move DistributableToolchain::installed_paths() into Cfg Dirkjan Ochtman 2024-06-14 11:43:11 +02:00
  • 336450dba4 No need to store cfg in DistributableToolchain Dirkjan Ochtman 2024-06-14 11:39:24 +02:00
  • c4c76745aa Reduce indirection in Cfg::from_partial() Dirkjan Ochtman 2024-06-14 11:21:04 +02:00
  • 87216b828d Move Toolchain::from_partial() to Cfg Dirkjan Ochtman 2024-06-14 11:16:38 +02:00
  • dc83fede2b Take owned LocalToolchainName in Toolchain::from_local() Dirkjan Ochtman 2024-06-14 11:07:34 +02:00
  • af20d03c95 Simplify Toolchain::from_local() Dirkjan Ochtman 2024-06-14 11:05:20 +02:00
  • c1768a72c2 refactor(dist): hoist dist::dist into dist rami3l 2024-06-17 12:14:59 +08:00
  • d89ab08122 refactor(dist): privatize imports from dist::dist rami3l 2024-06-17 12:08:34 +08:00
  • f88394cbbb Fix the TODO in src\toolchain\toolchain.rs Rean Fei 2024-06-17 00:20:13 +08:00
  • fae9a264d6 Use tracing macros directly Dirkjan Ochtman 2024-06-16 10:35:39 +02:00
  • a10ad735bb Inline single-caller maybe_trace_rustup() Dirkjan Ochtman 2024-06-16 10:30:36 +02:00
  • fa0cc58f09 Remove rustup test wrapper macros Dirkjan Ochtman 2024-06-16 08:15:29 +02:00
  • e8708d041c Use tokio::main attribute Dirkjan Ochtman 2024-06-15 21:58:33 +02:00
  • 7548792acb Attach Process-dependent utils to Process Dirkjan Ochtman 2024-06-15 21:40:52 +02:00
  • c7a526f29d Remove with_runtime() Dirkjan Ochtman 2024-06-15 21:35:19 +02:00
  • 4bfd68e68f fix(config): fix typo in ActiveReason rami3l 2024-06-16 08:33:25 +08:00
  • 70a2345c57 fix(log): use RUSTUP_LOG for internal tracing instead of RUST_LOG rami3l 2024-06-16 08:29:46 +08:00
  • 01d58b5994 refactor(currentprocess): make use of Arc::default() rami3l 2024-06-16 08:25:13 +08:00
  • ff779cd05e refactor(currentprocess): rename TestProcess.guard to _guard rami3l 2024-06-16 08:22:52 +08:00
  • c2c26edca5 Remove currentprocess::with() Dirkjan Ochtman 2024-06-15 12:11:49 +02:00
  • fbc39affb4 Privatize most TestProcess fields Dirkjan Ochtman 2024-06-15 14:20:25 +02:00
  • bbb3e6e900 Remove unused TestProcess::id Dirkjan Ochtman 2024-06-15 12:35:09 +02:00
  • 7a531c9306 Pass Process around explicitly Dirkjan Ochtman 2024-06-12 11:20:25 +02:00
  • 04ea1d4384 Let argument parser handle SelfUpdateMode conversion Dirkjan Ochtman 2024-06-15 13:53:58 +02:00