diff options
| author | bors <bors@rust-lang.org> | 2023-12-16 20:52:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-16 20:52:36 +0000 |
| commit | 445177724ac2beebf4faa5a3ffacb2adbe7e7846 (patch) | |
| tree | f598c16f7c0b63007a9a51a53a6bd5883708bd1d /src/bootstrap/bootstrap.py | |
| parent | 02ad6676ddc7ea7bc3acd73f383180bc80185aeb (diff) | |
| parent | a078c3aea8d7cb86c8d4f2abee01f955d3d12f49 (diff) | |
| download | rust-445177724ac2beebf4faa5a3ffacb2adbe7e7846.tar.gz rust-445177724ac2beebf4faa5a3ffacb2adbe7e7846.zip | |
Auto merge of #117595 - jyn514:x-clippy, r=albertlarsan68
x clippy thanks to `@asquared31415` `@albertlarsan68` for all their help, most of this pr is their work note that this also adds x clippy --stage 0 -Awarnings to x86_64-gnu-llvm-15 to make sure it stays working; that won't gate on any clippy warnings, just enforce that clippy doesn't give a hard error. we can't add --stage 1 until clippy fixes its debug assertions not to panic. note that `x clippy --stage 1` currently breaks when combined with download-rustc. unlike the previous prs, this doesn't require changes to clippy (it works by using RUSTC_WRAPPER instead), and supports stage 0 read this commit-by-commit closes https://github.com/rust-lang/rust/pull/107628; see also https://github.com/rust-lang/rust/pull/106394, https://github.com/rust-lang/rust/pull/97443. fixes https://github.com/rust-lang/rust/issues/95988. helps with https://github.com/rust-lang/rust/issues/76495. r? bootstrap
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 2328dd822af..fea194a80ef 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -616,22 +616,6 @@ class RustBuild(object): with output(self.rustc_stamp()) as rust_stamp: rust_stamp.write(key) - def _download_component_helper( - self, filename, pattern, tarball_suffix, rustc_cache, - ): - key = self.stage0_compiler.date - - tarball = os.path.join(rustc_cache, filename) - if not os.path.exists(tarball): - get( - self.download_url, - "dist/{}/{}".format(key, filename), - tarball, - self.checksums_sha256, - verbose=self.verbose, - ) - unpack(tarball, tarball_suffix, self.bin_root(), match=pattern, verbose=self.verbose) - def should_fix_bins_and_dylibs(self): """Whether or not `fix_bin_or_dylib` needs to be run; can only be True on NixOS or if config.toml has `build.patch-binaries-for-nix` set. |
