about summary refs log tree commit diff
path: root/src/tools/rust-installer
AgeCommit message (Collapse)AuthorLines
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.
2018-01-01Update crates and submodules to pull doc fixesMalo Jaffré-0/+0
Update `rand` crate to `0.3.19`. Update `log` crate to `0.3.9` and `0.4.1`. Update `parking_lot_core` crate to `0.2.9`. Upgrade all flate2 dependencies to `1.0.1`. - Update `rust-installer` submodule.
2017-09-15update rust-installerRalf Jung-0/+0
2017-09-09rustbuild: Switch back to using hard linksAlex Crichton-0/+0
The `copy` function historically in rustbuild used hard links to speed up the copy operations that it does. This logic was backed out, however, in #39518 due to a bug that only showed up on Windows, described in #39504. The cause described in #39504 happened because Cargo, on a fresh build, would overwrite the previous artifacts with new hard links that Cargo itself manages. This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer should overwrite files on fresh builds, opportunistically leaving the filesystem intact and not touching it. Hopefully this can help speed up local builds by doing fewer copies all over the place!
2017-05-31Update rust-installer for Windows executable modeJosh Stone-0/+0
It now marks a few whitelisted extensions as executable in the tarball, so Windows packages can be extracted on other platforms and directly execute install.sh. It also includes a fix for the chmod on bulk dirs, so now the html docs won't be marked executable en masse. Fixes #42121 r? @alexcrichton
2017-05-20Update rust-installer to normalize manifest pathsJosh Stone-0/+0
2017-05-20update rust-installerMarc-Antoine Perennou-0/+0
This fixes the default value for sysconfdir Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-05-18Unify all stage2 tools into a workspaceTatsuyuki Ishi-0/+0
This avoids double compiled Cargo. Hopefully this would speed up (extended) compilation for ~10m. Notes: when updating Cargo submodule, the replacement version may also need to be updated.
2017-05-14Update to the oxidized rust-installerJosh Stone-0/+0