]> git.proxmox.com Git - rustc.git/commitdiff
Update control files and refresh patches
authorXimin Luo <infinity0@debian.org>
Fri, 8 Oct 2021 13:03:23 +0000 (14:03 +0100)
committerXimin Luo <infinity0@debian.org>
Sat, 9 Oct 2021 02:21:13 +0000 (03:21 +0100)
debian/changelog
debian/control
debian/libstd-rust-1.54.lintian-overrides [deleted file]
debian/libstd-rust-1.55.lintian-overrides [new file with mode: 0644]
debian/patches/d-fix-mips64el-bootstrap.patch
debian/patches/d-old-cargo-compat.patch
debian/patches/d-temp-disable-jsondocck.patch
debian/patches/d-use-local-css.patch
debian/patches/series
debian/patches/u-86383.patch [deleted file]
debian/patches/u-ignore-endian-big.patch [deleted file]

index 9bd0ba202835af3f1da86e2c2e25c51f6845b604..e4a3456dc424e04206b1c4d8d3540524119798f0 100644 (file)
@@ -1,3 +1,9 @@
+rustc (1.55.0+dfsg1-1~exp1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Ximin Luo <infinity0@debian.org>  Fri, 08 Oct 2021 13:55:58 +0100
+
 rustc (1.54.0+dfsg1-2) unstable; urgency=medium
 
   * Fix some more build & test failures.
index 811731bb67373d7fa11a247f1639e8745b3258f5..8e83ac7d59c82129f817c28a3014507b508505f0 100644 (file)
@@ -13,8 +13,8 @@ Build-Depends:
  dpkg-dev (>= 1.17.14),
  python3:native,
  cargo:native (>= 0.40.0)      <!pkg.rustc.dlstage0>,
- rustc:native (>= 1.53.0+dfsg) <!pkg.rustc.dlstage0>,
- rustc:native (<= 1.54.0++)    <!pkg.rustc.dlstage0>,
+ rustc:native (>= 1.54.0+dfsg) <!pkg.rustc.dlstage0>,
+ rustc:native (<= 1.55.0++)    <!pkg.rustc.dlstage0>,
  llvm-12-dev:native,
  llvm-12-tools:native,
  gcc-mingw-w64-x86-64-posix:native [amd64] <!nowindows>,
@@ -55,7 +55,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
  libstd-rust-dev (= ${binary:Version}),
  gcc, libc-dev, binutils (>= 2.26)
 Recommends:
- cargo (>= 0.55.0~~), cargo (<< 0.56.0~~),
+ cargo (>= 0.56.0~~), cargo (<< 0.57.0~~),
 # llvm is needed for llvm-dwp for -C split-debuginfo=packed
  llvm-12,
 Suggests:
@@ -76,7 +76,7 @@ Description: Rust systems programming language
  generic programming and meta-programming, in both static and dynamic
  styles.
 
-Package: libstd-rust-1.54
+Package: libstd-rust-1.55
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -103,7 +103,7 @@ Section: libdevel
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libstd-rust-1.54 (= ${binary:Version}),
+ libstd-rust-1.55 (= ${binary:Version}),
 Description: Rust standard libraries - development files
  Rust is a curly-brace, block-structured expression language.  It
  visually resembles the C language family, but differs significantly
@@ -266,7 +266,7 @@ Package: rust-clippy
 Architecture: any
 Multi-Arch: allowed
 Depends: ${misc:Depends}, ${shlibs:Depends},
- libstd-rust-1.54 (= ${binary:Version})
+ libstd-rust-1.55 (= ${binary:Version})
 Recommends: cargo
 Description: Rust linter
  Rust is a curly-brace, block-structured expression language.  It
@@ -321,7 +321,7 @@ Depends: ${misc:Depends}, ${shlibs:Depends},
  rust-gdb (>= ${binary:Version}) | rust-lldb (>= ${binary:Version}),
  cargo,
 Recommends:
- cargo (>= 0.55.0~~), cargo (<< 0.56.0~~)
+ cargo (>= 0.56.0~~), cargo (<< 0.57.0~~)
 Suggests:
  rust-doc (>= ${binary:Version}),
  rust-src (>= ${binary:Version}),
diff --git a/debian/libstd-rust-1.54.lintian-overrides b/debian/libstd-rust-1.54.lintian-overrides
deleted file mode 100644 (file)
index 8de54dd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# "libstd" just seemed too generic
-libstd-rust-1.54 binary: package-name-doesnt-match-sonames
-libstd-rust-1.54 binary: sharedobject-in-library-directory-missing-soname
-
-# Rust doesn't use dev shlib symlinks nor any of the other shlib support stuff
-libstd-rust-1.54 binary: dev-pkg-without-shlib-symlink
-libstd-rust-1.54 binary: shlib-without-versioned-soname
-libstd-rust-1.54 binary: unused-shlib-entry-in-control-file
-
-# Libraries that use libc symbols (libterm, libstd, etc) *are* linked
-# to libc.  Lintian gets upset that some Rust libraries don't need
-# libc, boo hoo.
-libstd-rust-1.54 binary: library-not-linked-against-libc
diff --git a/debian/libstd-rust-1.55.lintian-overrides b/debian/libstd-rust-1.55.lintian-overrides
new file mode 100644 (file)
index 0000000..6d29890
--- /dev/null
@@ -0,0 +1,13 @@
+# "libstd" just seemed too generic
+libstd-rust-1.55 binary: package-name-doesnt-match-sonames
+libstd-rust-1.55 binary: sharedobject-in-library-directory-missing-soname
+
+# Rust doesn't use dev shlib symlinks nor any of the other shlib support stuff
+libstd-rust-1.55 binary: dev-pkg-without-shlib-symlink
+libstd-rust-1.55 binary: shlib-without-versioned-soname
+libstd-rust-1.55 binary: unused-shlib-entry-in-control-file
+
+# Libraries that use libc symbols (libterm, libstd, etc) *are* linked
+# to libc.  Lintian gets upset that some Rust libraries don't need
+# libc, boo hoo.
+libstd-rust-1.55 binary: library-not-linked-against-libc
index 832128fc55a224ab7b865714e76ecc17b8c8c5fa..e0fb964b7368cd9631c648fce73dab4b836eb16e 100644 (file)
@@ -1,7 +1,7 @@
 Bug: https://github.com/rust-lang/rust/issues/52108
 --- a/src/bootstrap/bootstrap.py
 +++ b/src/bootstrap/bootstrap.py
-@@ -887,6 +887,8 @@
+@@ -904,6 +904,8 @@
          # preserve existing RUSTFLAGS
          env.setdefault("RUSTFLAGS", "")
          env["RUSTFLAGS"] += " -Cdebuginfo=2"
@@ -12,7 +12,7 @@ Bug: https://github.com/rust-lang/rust/issues/52108
          target_features = []
 --- a/compiler/rustc_target/src/spec/mips64_unknown_linux_gnuabi64.rs
 +++ b/compiler/rustc_target/src/spec/mips64_unknown_linux_gnuabi64.rs
-@@ -11,7 +11,7 @@
+@@ -12,7 +12,7 @@
              endian: Endian::Big,
              // NOTE(mips64r2) matches C toolchain
              cpu: "mips64r2".to_string(),
@@ -23,8 +23,8 @@ Bug: https://github.com/rust-lang/rust/issues/52108
  
 --- a/compiler/rustc_target/src/spec/mips64el_unknown_linux_gnuabi64.rs
 +++ b/compiler/rustc_target/src/spec/mips64el_unknown_linux_gnuabi64.rs
-@@ -9,7 +9,7 @@
-         options: TargetOptions {
+@@ -10,7 +10,7 @@
+             abi: "abi64".to_string(),
              // NOTE(mips64r2) matches C toolchain
              cpu: "mips64r2".to_string(),
 -            features: "+mips64r2".to_string(),
index 947592ebc978428dbd6880c04ba553a4c273304d..d3ed88d23d482b6f95914675a2d56fc4ce978849 100644 (file)
@@ -12,7 +12,7 @@ Description: Backwards-compat for cargo 0.47
 
 --- a/src/bootstrap/doc.rs
 +++ b/src/bootstrap/doc.rs
-@@ -429,7 +429,6 @@
+@@ -451,7 +451,6 @@
              cargo
                  .arg("-p")
                  .arg(package)
@@ -20,7 +20,7 @@ Description: Backwards-compat for cargo 0.47
                  .arg("--")
                  .arg("--markdown-css")
                  .arg("rust.css")
-@@ -560,7 +559,6 @@
+@@ -582,7 +581,6 @@
          cargo.rustdocflag("-Znormalize-docs");
          cargo.rustdocflag("--show-type-layout");
          compile::rustc_cargo(builder, &mut cargo, target);
@@ -28,11 +28,11 @@ Description: Backwards-compat for cargo 0.47
  
          // Only include compiler crates, no dependencies of those, such as `libc`.
          cargo.arg("--no-deps");
-@@ -652,7 +650,6 @@
-             &[],
-         );
+@@ -673,7 +671,6 @@
+                     &[],
+                 );
  
--        cargo.arg("-Zskip-rustdoc-fingerprint");
-         // Only include compiler crates, no dependencies of those, such as `libc`.
-         cargo.arg("--no-deps");
-         cargo.arg("-p").arg("rustdoc");
+-                cargo.arg("-Zskip-rustdoc-fingerprint");
+                 // Only include compiler crates, no dependencies of those, such as `libc`.
+                 cargo.arg("--no-deps");
+                 $(
index 72a24c117fa55ac0c3dd4bdede466790d68de914..64f4f8eced0ff1d9d5e088b9dd27f62e3322ffba 100644 (file)
@@ -7,7 +7,7 @@ TODO / FIXME in version 1.56.
 
 --- a/src/bootstrap/test.rs
 +++ b/src/bootstrap/test.rs
-@@ -1212,10 +1212,8 @@
+@@ -1289,10 +1289,8 @@
          }
  
          if mode == "rustdoc-json" {
@@ -27,6 +27,6 @@ TODO / FIXME in version 1.56.
      ExpandYamlAnchors, "src/tools/expand-yaml-anchors", "expand-yaml-anchors";
      LintDocs, "src/tools/lint-docs", "lint-docs";
 -    JsonDocCk, "src/tools/jsondocck", "jsondocck";
+     HtmlChecker, "src/tools/html-checker", "html-checker";
  );
  
- #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, Ord, PartialOrd)]
index f05e36786ab2d1f26182fafcb657b2c0fe2c91e9..2f4d920d8d19632cbe4e6c275ba6fb2e785ef5cf 100644 (file)
@@ -1,23 +1,30 @@
 --- a/src/bootstrap/doc.rs
 +++ b/src/bootstrap/doc.rs
-@@ -364,6 +364,8 @@
+@@ -383,6 +383,10 @@
                  .arg(&builder.src.join("src/doc/index.md"))
                  .arg("--markdown-playground-url")
                  .arg("https://play.rust-lang.org/")
 +                .arg("--markdown-css")
++                .arg(format!("rustdoc{}.css", &builder.version))
++                .arg("--markdown-css")
 +                .arg("rust.css")
                  .arg("-o")
                  .arg(&out)
                  .arg(&path);
-@@ -371,12 +373,6 @@
-             if !builder.config.docs_minification {
+@@ -391,17 +395,6 @@
                  cmd.arg("--disable-minification");
              }
--
 -            if filename == "not_found.md" {
--                cmd.arg("--markdown-css").arg("https://doc.rust-lang.org/rust.css");
+-                cmd.arg("--markdown-css")
+-                    .arg(format!("https://doc.rust-lang.org/rustdoc{}.css", &builder.version))
+-                    .arg("--markdown-css")
+-                    .arg("https://doc.rust-lang.org/rust.css");
 -            } else {
--                cmd.arg("--markdown-css").arg("rust.css");
+-                cmd.arg("--markdown-css")
+-                    .arg(format!("rustdoc{}.css", &builder.version))
+-                    .arg("--markdown-css")
+-                    .arg("rust.css");
 -            }
              builder.run(&mut cmd);
          }
index d0cd336dc8ce71602a34a0b60a1ed651d0f50443..35bac5ab4e5f5fefc5883d76be9eb252273c22be 100644 (file)
@@ -1,13 +1,11 @@
 # Patches for upstream
 
 # pending, or forwarded
-u-86383.patch
 u-89591.patch
 u-85807.patch
 # next one can be dropped after upgrading to LLVM 13
 0001-Revert-Auto-merge-of-79547.patch
 u-reproducible-build.patch
-u-ignore-endian-big.patch
 u-ignore-endian-big-diff.patch
 
 # not forwarded, or forwarded but unlikely to be merged
diff --git a/debian/patches/u-86383.patch b/debian/patches/u-86383.patch
deleted file mode 100644 (file)
index adf87f2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-From aa53928ed7b763abd882f2a5efb8f98f53ccc6a9 Mon Sep 17 00:00:00 2001
-From: Alex Vlasov <alex.m.vlasov@gmail.com>
-Date: Sun, 20 Jun 2021 16:09:42 +0200
-Subject: [PATCH] Squashed implementation of the pass
-
-  Note: for Debian we only care about the failing armhf test which is fixed by
-  a subset of the PR, namely what's below. For details see
-  https://github.com/rust-lang/rust/pull/86383#issuecomment-864521922
-
---- a/library/std/src/thread/local/tests.rs
-+++ b/library/std/src/thread/local/tests.rs
-@@ -297,7 +297,7 @@
-             .unwrap();
-         loop {
--            match SYNC_STATE.compare_exchange_weak(
-+            match SYNC_STATE.compare_exchange(
-                 THREAD1_WAITING,
-                 MAIN_THREAD_RENDEZVOUS,
-                 Ordering::SeqCst,
diff --git a/debian/patches/u-ignore-endian-big.patch b/debian/patches/u-ignore-endian-big.patch
deleted file mode 100644 (file)
index 463b5f7..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-Forwarded: https://github.com/rust-lang/rust/pull/77413
-Bug: https://github.com/rust-lang/rust/issues/79799
-commit a311e14b9cb23419b6a287d651de7d02136a4be4
-Author: Ximin Luo <infinity0@pwned.gg>
-Date:   Thu Oct 1 18:53:49 2020 +0100
-
-    Ignore mir tests on big-endian
-    
-    Can be dropped in 1.55 and later.
-
---- a/src/test/mir-opt/const_prop/checked_add.rs
-+++ b/src/test/mir-opt/const_prop/checked_add.rs
-@@ -1,5 +1,5 @@
- // compile-flags: -C overflow-checks=on
--
-+// ignore-endian-big
- // EMIT_MIR checked_add.main.ConstProp.diff
- fn main() {
-     let x: u32 = 1 + 1;
---- a/src/test/mir-opt/const_prop/mutable_variable_aggregate.rs
-+++ b/src/test/mir-opt/const_prop/mutable_variable_aggregate.rs
-@@ -1,5 +1,5 @@
- // compile-flags: -O
--
-+// ignore-endian-big
- // EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
- fn main() {
-     let mut x = (42, 43);
---- a/src/test/mir-opt/const_prop/mutable_variable_no_prop.rs
-+++ b/src/test/mir-opt/const_prop/mutable_variable_no_prop.rs
-@@ -1,5 +1,5 @@
- // compile-flags: -O
--
-+// ignore-endian-big
- static mut STATIC: u32 = 42;
- // EMIT_MIR mutable_variable_no_prop.main.ConstProp.diff
---- a/src/test/mir-opt/const_prop/optimizes_into_variable.rs
-+++ b/src/test/mir-opt/const_prop/optimizes_into_variable.rs
-@@ -1,5 +1,5 @@
- // compile-flags: -C overflow-checks=on
--
-+// ignore-endian-big
- struct Point {
-     x: u32,
-     y: u32,
---- a/src/test/mir-opt/const_prop/return_place.rs
-+++ b/src/test/mir-opt/const_prop/return_place.rs
-@@ -1,5 +1,5 @@
- // compile-flags: -C overflow-checks=on
--
-+// ignore-endian-big
- // EMIT_MIR return_place.add.ConstProp.diff
- // EMIT_MIR return_place.add.PreCodegen.before.mir
- fn add() -> u32 {
---- a/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff
-+++ b/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff
-@@ -2,37 +2,37 @@
- + // MIR for `main` after ConstProp
-   
-   fn main() -> () {
--      let mut _0: ();                      // return place in scope 0 at $DIR/tuple_literal_propagation.rs:2:11: 2:11
--      let _1: (u32, u32);                  // in scope 0 at $DIR/tuple_literal_propagation.rs:3:9: 3:10
--      let _2: ();                          // in scope 0 at $DIR/tuple_literal_propagation.rs:5:5: 5:15
--      let mut _3: (u32, u32);              // in scope 0 at $DIR/tuple_literal_propagation.rs:5:13: 5:14
-+      let mut _0: ();                      // return place in scope 0 at $DIR/tuple_literal_propagation.rs:3:11: 3:11
-+      let _1: (u32, u32);                  // in scope 0 at $DIR/tuple_literal_propagation.rs:4:9: 4:10
-+      let _2: ();                          // in scope 0 at $DIR/tuple_literal_propagation.rs:6:5: 6:15
-+      let mut _3: (u32, u32);              // in scope 0 at $DIR/tuple_literal_propagation.rs:6:13: 6:14
-       scope 1 {
--          debug x => _1;                   // in scope 1 at $DIR/tuple_literal_propagation.rs:3:9: 3:10
-+          debug x => _1;                   // in scope 1 at $DIR/tuple_literal_propagation.rs:4:9: 4:10
-       }
-   
-       bb0: {
--          StorageLive(_1);                 // scope 0 at $DIR/tuple_literal_propagation.rs:3:9: 3:10
--          (_1.0: u32) = const 1_u32;       // scope 0 at $DIR/tuple_literal_propagation.rs:3:13: 3:19
--          (_1.1: u32) = const 2_u32;       // scope 0 at $DIR/tuple_literal_propagation.rs:3:13: 3:19
--          StorageLive(_2);                 // scope 1 at $DIR/tuple_literal_propagation.rs:5:5: 5:15
--          StorageLive(_3);                 // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14
---         _3 = _1;                         // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14
--+         _3 = const (1_u32, 2_u32);       // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14
-+          StorageLive(_1);                 // scope 0 at $DIR/tuple_literal_propagation.rs:4:9: 4:10
-+          (_1.0: u32) = const 1_u32;       // scope 0 at $DIR/tuple_literal_propagation.rs:4:13: 4:19
-+          (_1.1: u32) = const 2_u32;       // scope 0 at $DIR/tuple_literal_propagation.rs:4:13: 4:19
-+          StorageLive(_2);                 // scope 1 at $DIR/tuple_literal_propagation.rs:6:5: 6:15
-+          StorageLive(_3);                 // scope 1 at $DIR/tuple_literal_propagation.rs:6:13: 6:14
-+-         _3 = _1;                         // scope 1 at $DIR/tuple_literal_propagation.rs:6:13: 6:14
-++         _3 = const (1_u32, 2_u32);       // scope 1 at $DIR/tuple_literal_propagation.rs:6:13: 6:14
- +                                          // mir::Constant
--+                                          // + span: $DIR/tuple_literal_propagation.rs:5:13: 5:14
-++                                          // + span: $DIR/tuple_literal_propagation.rs:6:13: 6:14
- +                                          // + literal: Const { ty: (u32, u32), val: Value(ByRef { alloc: Allocation { bytes: [1, 0, 0, 0, 2, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [255], len: Size { raw: 8 } }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) }
--          _2 = consume(move _3) -> bb1;    // scope 1 at $DIR/tuple_literal_propagation.rs:5:5: 5:15
-+          _2 = consume(move _3) -> bb1;    // scope 1 at $DIR/tuple_literal_propagation.rs:6:5: 6:15
-                                            // mir::Constant
--                                           // + span: $DIR/tuple_literal_propagation.rs:5:5: 5:12
-+                                           // + span: $DIR/tuple_literal_propagation.rs:6:5: 6:12
-                                            // + literal: Const { ty: fn((u32, u32)) {consume}, val: Value(Scalar(<ZST>)) }
-       }
-   
-       bb1: {
--          StorageDead(_3);                 // scope 1 at $DIR/tuple_literal_propagation.rs:5:14: 5:15
--          StorageDead(_2);                 // scope 1 at $DIR/tuple_literal_propagation.rs:5:15: 5:16
--          nop;                             // scope 0 at $DIR/tuple_literal_propagation.rs:2:11: 6:2
--          StorageDead(_1);                 // scope 0 at $DIR/tuple_literal_propagation.rs:6:1: 6:2
--          return;                          // scope 0 at $DIR/tuple_literal_propagation.rs:6:2: 6:2
-+          StorageDead(_3);                 // scope 1 at $DIR/tuple_literal_propagation.rs:6:14: 6:15
-+          StorageDead(_2);                 // scope 1 at $DIR/tuple_literal_propagation.rs:6:15: 6:16
-+          nop;                             // scope 0 at $DIR/tuple_literal_propagation.rs:3:11: 7:2
-+          StorageDead(_1);                 // scope 0 at $DIR/tuple_literal_propagation.rs:7:1: 7:2
-+          return;                          // scope 0 at $DIR/tuple_literal_propagation.rs:7:2: 7:2
-       }
-   }
-   
---- a/src/test/mir-opt/const_prop/tuple_literal_propagation.rs
-+++ b/src/test/mir-opt/const_prop/tuple_literal_propagation.rs
-@@ -1,3 +1,4 @@
-+// ignore-endian-big
- // EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
- fn main() {
-     let x = (1, 2);