diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-02-02 10:24:19 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-02-02 10:24:29 +0100 |
| commit | e4ae9ef3b0ee28b3f3602a55e02d5be857379dd3 (patch) | |
| tree | 0ec300ad7ba29d1397f65d53ece6418670af1fb2 | |
| parent | d1df92e2e3599c253573a3d1eaac2ddf369c2ab1 (diff) | |
| download | rust-e4ae9ef3b0ee28b3f3602a55e02d5be857379dd3.tar.gz rust-e4ae9ef3b0ee28b3f3602a55e02d5be857379dd3.zip | |
Rustup to rustc 1.51.0-nightly (d4e3570db 2021-02-01)
| -rw-r--r-- | build_sysroot/Cargo.lock | 4 | ||||
| -rw-r--r-- | rust-toolchain | 2 | ||||
| -rw-r--r-- | src/archive.rs | 6 |
3 files changed, 4 insertions, 8 deletions
diff --git a/build_sysroot/Cargo.lock b/build_sysroot/Cargo.lock index 0da9999c172..d29ab8c1803 100644 --- a/build_sysroot/Cargo.lock +++ b/build_sysroot/Cargo.lock @@ -139,9 +139,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.84" +version = "0.2.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cca32fa0182e8c0989459524dc356b8f2b5c10f1b9eb521b7d182c03cf8c5ff" +checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3" dependencies = [ "rustc-std-workspace-core", ] diff --git a/rust-toolchain b/rust-toolchain index a08f00d19c2..de8e5f71cdc 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2021-01-30 +nightly-2021-02-02 diff --git a/src/archive.rs b/src/archive.rs index 96579054389..d2ed553b700 100644 --- a/src/archive.rs +++ b/src/archive.rs @@ -30,7 +30,6 @@ pub(crate) struct ArArchiveBuilder<'a> { // Don't use `HashMap` here, as the order is important. `rust.metadata.bin` must always be at // the end of an archive for linkers to not get confused. entries: Vec<(String, ArchiveEntry)>, - update_symbols: bool, } impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> { @@ -69,7 +68,6 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> { src_archives, entries, - update_symbols: false, } } @@ -136,9 +134,7 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> { }) } - fn update_symbols(&mut self) { - self.update_symbols = true; - } + fn update_symbols(&mut self) {} fn build(mut self) { enum BuilderKind { |
