about summary refs log tree commit diff
path: root/src/tools/rust-installer
AgeCommit message (Collapse)AuthorLines
2025-06-29Update README.mdkilavvy-1/+1
- Update ui.md - Update type-alias-impl-trait.md - Update README.md
2025-06-23Fix install-template.sh for Solaris trPetr Sumbera-4/+4
2025-02-08Rustfmtbjorn3-8/+11
2024-12-31Fix typosericlehong-1/+1
Signed-off-by: ericlehong <193237094+ericlehong@users.noreply.github.com>
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-18/+15
2024-07-29Reformat `use` declarations.Nicholas Nethercote-30/+36
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-07use "bootstrap" instead of "rustbuild" in comments and docsonur-ozkan-2/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-29Add support for mtime override to `generate` and `combine` rust-installer ↵Jakub Beránek-2/+16
commands
2024-06-29Make mtime of reproducible tarball dependent on git commitJakub Beránek-2/+16
2024-06-05Simplify the rayon calls in the installerJosh Stone-9/+3
Rayon's `try_for_each` makes the `CombinedEncoder` a lot simpler.
2024-03-31Sort directories when generating tarballsJakub Beránek-1/+4
2024-03-31Make tarball generation more deterministicJakub Beránek-2/+5
2024-02-22support `no-op` compression profile in rust-installeronur-ozkan-2/+15
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-01-21use /usr/bin/env bash instead of /bin/bashRowan S-L-1/+1
2023-11-07bump some depsklensy-1/+0
drop num_cpus from rust-installer as not used update rayon, rayon-core, which drops it's deps on num_cpus and crossbeam-channel (for bootstrap too) (https://github.com/rayon-rs/rayon/blob/v1.8.0/RELEASES.md) update erro, which drops errno-dragonfly (https://github.com/lambda-fairy/rust-errno/blob/5341791935df601306ffc57a665763c4ecd72755/CHANGELOG.md)
2023-07-21rust-installer: Use env(1) in the shebang.Alex Zepeda-1/+1
This fixes the case (e.g. *BSD) where bash is installed on the host system, but not at the typical location of /bin.
2023-07-04fix typoklensy-1/+1
2023-07-04fix bash long lines and replace TODO with FIXMEklensy-11/+18
2023-07-04replace tabs with 4 spaces in .shklensy-804/+804
2023-07-04rust-installer and rls no longer submodule, so fix rustfmt.tomlklensy-67/+29
2023-06-21change edition to 2021, fix clippy warnsklensy-11/+11
2023-06-21rust-installer: drop clap v3, migrate to v4klensy-36/+36
2023-06-02Update dependencies with reported vulnerabilitiesArlo Siemsen-2/+1
bumpalo 3.12.1 (yanked) * updated to 3.13.0 tokio 1.8.4 - https://rustsec.org/advisories/RUSTSEC-2023-0001 * updated to 1.28.2 remove_dir_all 0.5.3 - https://rustsec.org/advisories/RUSTSEC-2023-0018 * removed by using the standard library function in `rust-installer` instead and updating to `tempfile@3.5.0` (which also removes the dependency).
2023-05-25Improve commentsMichael Howell-0/+6
2023-05-25rust-installer: include `RUSTC_BOOTSTRAP` when generating installerMichael Howell-0/+6
2023-04-12Rollup merge of #110188 - Nilstrieb:remove-remove-dir-all, r=jyn514Matthias Krüger-864/+0
Remove orphaned remove_dir_all implementation from rust-installer I have no idea why it's here, but it's not used at all. r? Mark-Simulacrum
2023-04-11Remove orphaned remove_dir_all implementation from rust-installernils-864/+0
I have no idea why it's here, but it's not used at all.
2023-04-03Remove optimal xz settings from CIMark Rousskov-45/+7
This is a companion PR to rust-lang/promote-release#58, which moves the relevant optimal code to rust-lang/promote-release. As mentioned in the comments of that PR, this is expected to cut CI costs (and time, though predominantly felt on fast builders) and reduce wasted resources due to in-practice single-threaded compression not using the full 8+ vCPU builders we have available.
2023-03-24Allow long link names in tar filesJon Gjengset-4/+3
Without this, users trying to run `x.py dist` under a sufficiently long path run into problems when we build the resulting tarballs due to length limits in the original tar spec. The error looks like: Finished release [optimized + debuginfo] target(s) in 0.34s Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-musl) Building stage0 tool rust-installer (x86_64-unknown-linux-gnu) Finished release [optimized] target(s) in 0.35s Dist rust-std-1.67.1-x86_64-unknown-linux-musl Error: failed to generate installer Caused by: 0: failed to tar file '/home/AAAAAAAAAAAAAA/BBBBBB/CCCC/DDD/EEEEE/FFFFFFFFFFFF/GGGGGGGGGGGGGGGG/HHHHHHHHHH/IIIIIIIIIIIIIII/JJJJJ/KKKKKKK/src/build/tmp/tarball/rust-std/x86_64-unknown-linux-musl/rust-std-1.67.1-x86_64-unknown-linux-musl/rust-std-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/libc.a' 1: provided value is too long when setting link name for Build completed unsuccessfully in 0:00:03 The fix is to make use of the widely-supported GNU tar extensions which lift this restriction. Switching to [`tar::Builder::append_link`] takes care of that for us. See also alexcrichton/tar-rs#273. [`tar::Builder::append_link`]: https://docs.rs/tar/0.4.38/tar/struct.Builder.html#method.append_link
2023-03-14add dist.compression-profile option to control compression speedPietro Albini-47/+111
2023-03-09replace legacy copyright annotations in submodulesPietro Albini-45/+0
2023-03-07Use 3 or 6 compression threads for rust-installerMark Rousskov-5/+16
Limit to 3 threads for 32-bit platforms, otherwise we use 6 threads. This avoids exceeding the amount of memory we can allocate on a 32-bit platform.
2023-03-07Add bootstrap support for rust-installerMark Rousskov-4/+3
2023-03-07Directly import rust-installer submoduleMark Rousskov-0/+4370
This moves the rust-installer code to be directly hosted in rust-lang/rust, since it's not used elsewhere and this makes it easier to make and review changes without needing a separate upstream commit.
2023-03-07Bump rust-installerMark Rousskov-0/+0
This brings in rust-lang/rust-installer#123, which enables a larger compression window (8 -> 64MB) amongst other changes to the xz compression settings. The net effect should be smaller compressed tarballs which will decrease bandwidth usage for static.rust-lang.org, download times, and decompression time. This comes at the cost of higher baseline requirements for running rustup to use these files, which we believe should be largely acceptable (running rustc is likely to use at least this much memory) but if we get specific reports we may explore options to decrease impact (e.g., using the gzip tarballs automatically in rustup).
2023-02-03Bump rust-installerJon Gjengset-0/+0
Makes generation of `manifest.in` deterministic: https://github.com/rust-lang/rust-installer/pull/120
2022-12-27Bump rust-installerMark Rousskov-0/+0
* `--without=component-a,component-b` now requires full component names. This fixes rust-lang/rust#105755 (rust-lang/rust-installer#119).
2022-07-09Update submodule rust-installerMichael Howell-0/+0
This includes the following pull requests: * https://github.com/rust-lang/rust-installer/pull/114 * https://github.com/rust-lang/rust-installer/pull/113
2020-12-28bump rust-installer submodulePietro Albini-0/+0
2020-07-07Update rust-installer to latest versionMichael Forney-0/+0
This pulls in a fix for the install script on some tr(1) implementations, as well as an update to use `anyhow` instead of `failure` for error handling.
2019-08-28Update rust-installer to limit memory useJosh Stone-0/+0
2019-07-04Update the `rust-installer` submoduleAlex Crichton-0/+0
This pulls in a commit which uses parallel xz encoding which should hopefully help shave some time off the dist builders which spend an inordinate amount of time compressing this data.
2019-02-05update rust-installer from 27dec6c to ccdc47bHirokazu Hata-0/+0
2018-08-14Add lldb to the buildTom Tromey-0/+0
This optionally adds lldb (and clang, which it needs) to the build. Because rust uses LLVM 7, and because clang 7 is not yet released, a recent git master version of clang is used. The lldb that is used includes the Rust plugin. lldb is only built when asked for, or when doing a nightly build on macOS. Only macOS is done for now due to difficulties with the Python dependency.
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-0/+0
2018-06-21Revert "Auto merge of #51662 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum"Mark Simulacrum-0/+0
This reverts commit fff1abadd7a4ec861ca4b9c77035379578ef033d, reversing changes made to 01172a7d137dcba06f190241caadcaabe7c94767.
2018-06-20Fix error-chain warningsMark Simulacrum-0/+0
2018-03-02Reupdate rust-installerBastien Orivel-0/+0
Removes the walkdir 1.0 and same-file 0.1 dependencies
2018-03-02Update rust-installerBastien Orivel-0/+0
This removes the last dependency on rayon 0.9
2018-01-16Update rust-installer for streaming parallelismJosh Stone-0/+0
Pull in rust-lang/rust-installer#76 to get streamed tarball generation, rather than batching it all in memory, while still getting the benefit of compressing in parallel.