Package: rustc / 1.41.1+dfsg1-1~deb10u1

Metadata

Package Version Patches format
rustc 1.41.1+dfsg1-1~deb10u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix compiletest fallout from stage0 bump.patch | (download)

src/tools/compiletest/src/main.rs | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] fix compiletest fallout from stage0 bump


0001 Update the barrier cache during ARM EHABI unwinding.patch | (download)

src/libpanic_unwind/gcc.rs | 8 7 + 1 - 0 !
src/libunwind/libunwind.rs | 2 2 + 0 - 0 !
2 files changed, 9 insertions(+), 1 deletion(-)

 [patch] update the barrier cache during arm ehabi unwinding


rust pr68019 in tree compiletest.patch | (download)

src/bootstrap/tool.rs | 22 9 + 13 - 0 !
1 file changed, 9 insertions(+), 13 deletions(-)

 [patch 1/2] remove obsolete llvm_tools flag


u reproducible build.patch | (download)

src/librustc_llvm/build.rs | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 don't split dwarf debug for a fully-reproducible build
u prefer local css.patch | (download)

src/bootstrap/doc.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 prefer local css to remote
u test python 3.patch | (download)

src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
u make tests work without rpath.patch | (download)

src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

---
u tests ignore arm.patch | (download)

src/test/run-make-fulldeps/foreign-exceptions/Makefile | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 this test is new in 1.40 and the failure is present on many
 previous rust versions without users having complained or noticed, so
 just ignore the failure until upstream fixes it

u mips fixes.diff | (download)

src/librustc_codegen_llvm/llvm_util.rs | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 various fixes for rust on mips
u riscv64 66899.patch | (download)

src/libpanic_unwind/gcc.rs | 3 3 + 0 - 0 !
src/libstd/env.rs | 6 6 + 0 - 0 !
src/libstd/os/linux/raw.rs | 7 6 + 1 - 0 !
src/libstd/os/raw/mod.rs | 6 4 + 2 - 0 !
src/libstd/sys/unix/fs.rs | 2 2 + 0 - 0 !
src/libstd/sys_common/alloc.rs | 3 2 + 1 - 0 !
src/libunwind/libunwind.rs | 3 3 + 0 - 0 !
7 files changed, 26 insertions(+), 4 deletions(-)

 [patch 1/2] add support for risc-v 64-bit gnu/linux


u riscv64 68452.patch | (download)

src/librustc/ty/layout.rs | 1 1 + 0 - 0 !
src/librustc_target/abi/call/mod.rs | 10 8 + 2 - 0 !
src/librustc_target/abi/call/riscv.rs | 335 322 + 13 - 0 !
src/test/auxiliary/rust_test_helpers.c | 29 29 + 0 - 0 !
src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs | 181 181 + 0 - 0 !
src/test/codegen/riscv-abi/riscv64-lp64d-abi.rs | 293 293 + 0 - 0 !
src/test/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs | 277 277 + 0 - 0 !
src/test/ui/abi/struct-enums/struct-return.rs | 52 51 + 1 - 0 !
8 files changed, 1162 insertions(+), 16 deletions(-)

 [patch 1/2] implement proper c abi lowering for risc-v


u riscv64 libc 1606.patch | (download)

vendor/libc/src/unix/linux_like/linux/gnu/b64/mod.rs | 3 3 + 0 - 0 !
vendor/libc/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs | 861 861 + 0 - 0 !
vendor/libc/src/unix/linux_like/linux/gnu/mod.rs | 3 2 + 1 - 0 !
3 files changed, 866 insertions(+), 1 deletion(-)

 [patch 1/3] support for risc-v 64-bit gnu/linux


u riscv64 cc 461.patch | (download)

vendor/cc/src/lib.rs | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch] enable -fpic on non-bare-metal risc-v


u riscv64 cc 465.patch | (download)

vendor/cc/src/lib.rs | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] add cross prefix for riscv64gc-unknown-linux-gnu =>
 riscv64-linux-gnu

Add out-of-the-box cross-compiling support for riscv64gc-unknown-linux-gnu

u riscv64 compiletest.patch | (download)

src/tools/compiletest/src/util.rs | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
u wasm32 libc 1625.patch | (download)

vendor/libc/src/wasi.rs | 13 5 + 8 - 0 !
1 file changed, 5 insertions(+), 8 deletions(-)

 [patch] update bindings for the wasm32-wasi target

This commit performs a number of updates for libc with the `wasm32-wasi`
target:

* Updates the `wasi-libc` repository commit used (previously known as
  `wasi-sysroot`)
* Updates the container to Ubuntu 19.10 which has Clang 9 packaged which
  is all we need.
* Avoids building `wasmtime` and instead downloads a precompiled binary.
* Updates bindings in `src/wasi.rs` to match the current upstream state.

u rustc llvm cross flags.patch | (download)

src/librustc_llvm/build.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
u reproducible dl stage0.patch | (download)

src/bootstrap/bootstrap.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
d 0000 ignore removed submodules.patch | (download)

Cargo.toml | 26 0 + 26 - 0 !
src/bootstrap/bootstrap.py | 4 0 + 4 - 0 !
src/bootstrap/builder.rs | 7 1 + 6 - 0 !
src/bootstrap/doc.rs | 2 1 + 1 - 0 !
src/bootstrap/test.rs | 16 8 + 8 - 0 !
src/bootstrap/tool.rs | 4 2 + 2 - 0 !
src/doc/index.md | 2 1 + 1 - 0 !
src/tools/rustbook/Cargo.toml | 8 1 + 7 - 0 !
src/tools/tidy/src/deps.rs | 4 2 + 2 - 0 !
9 files changed, 16 insertions(+), 57 deletions(-)

 ignore submodules that we're not building, or that are unused like
 mdbook-linkcheck that pull in a ton of dependencies that are unneeded.
d 0001 disable miniz.patch | (download)

vendor/flate2/Cargo.toml | 14 2 + 12 - 0 !
1 file changed, 2 insertions(+), 12 deletions(-)

---
d 0002 pkg config no special snowflake.patch | (download)

vendor/pkg-config/src/lib.rs | 27 10 + 17 - 0 !
vendor/pkg-config/tests/test.rs | 2 0 + 2 - 0 !
2 files changed, 10 insertions(+), 19 deletions(-)

---
d 0003 mdbook strip embedded libs.patch | (download)

src/tools/linkchecker/main.rs | 5 5 + 0 - 0 !
vendor/mdbook/src/book/init.rs | 6 0 + 6 - 0 !
vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs | 58 2 + 56 - 0 !
vendor/mdbook/src/renderer/html_handlebars/search.rs | 2 0 + 2 - 0 !
vendor/mdbook/src/theme/index.hbs | 96 4 + 92 - 0 !
vendor/mdbook/src/theme/mod.rs | 28 0 + 28 - 0 !
vendor/mdbook/src/theme/searcher/mod.rs | 2 0 + 2 - 0 !
7 files changed, 11 insertions(+), 186 deletions(-)

 use local web resources instead of remote ones
d ignore error detail diff.patch | (download)

src/test/ui/async-await/issues/issue-62009-1.stderr | 5 0 + 5 - 0 !
src/test/ui/closures/closure-move-sync.stderr | 10 0 + 10 - 0 !
src/test/ui/consts/const-size_of-cycle.stderr | 8 0 + 8 - 0 !
src/test/ui/consts/offset_from_ub.stderr | 35 0 + 35 - 0 !
src/test/ui/derives/derives-span-Hash-enum-struct-variant.stderr | 5 0 + 5 - 0 !
src/test/ui/derives/derives-span-Hash-enum.stderr | 5 0 + 5 - 0 !
src/test/ui/derives/derives-span-Hash-struct.stderr | 5 0 + 5 - 0 !
src/test/ui/derives/derives-span-Hash-tuple-struct.stderr | 5 0 + 5 - 0 !
src/test/ui/impl-trait/impl-generic-mismatch.stderr | 5 0 + 5 - 0 !
src/test/ui/imports/extern-prelude-extern-crate-restricted-shadowing.stderr | 4 0 + 4 - 0 !
src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr | 5 0 + 5 - 0 !
src/test/ui/interior-mutability/interior-mutability.stderr | 5 0 + 5 - 0 !
src/test/ui/issues/issue-21160.stderr | 5 0 + 5 - 0 !
src/test/ui/issues/issue-27033.stderr | 5 0 + 5 - 0 !
src/test/ui/no-send-res-ports.stderr | 5 0 + 5 - 0 !
src/test/ui/rfc-1937-termination-trait/termination-trait-test-wrong-type.stderr | 5 0 + 5 - 0 !
src/test/ui/traits/trait-suggest-where-clause.stderr | 20 0 + 20 - 0 !
src/test/ui/type_length_limit.stderr | 4 0 + 4 - 0 !
18 files changed, 141 deletions(-)

 ignore error details with $src_dir
 We build with --remap-path-prefix so it doesn't work, see bug below
Bug: https://github.com/rust-lang/rust/issues/53081
d disable cargo vendor.patch | (download)

src/bootstrap/dist.rs | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 don't check for cargo-vendor when building from (debian's) git
d rust gdb paths | (download)

src/etc/rust-gdb | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 hardcode gdb python module directory
 Debian package installs python modules into a fixed directory, so
 just hardcode path in wrapper script.
d rust lldb paths | (download)

src/etc/rust-lldb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 hardcode lldb python module directory
 Debian package installs python modules into a fixed directory, so
 just hardcode path in wrapper script.
d add soname.patch | (download)

src/librustc_codegen_ssa/back/link.rs | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 set dt_soname when building dylibs
 In Rust, library filenames include a version-specific hash to help
 the run-time linker find the correct version.  Unlike in C/C++, the
 compiler looks for all libraries matching a glob that ignores the
 hash and reads embedded metadata to work out versions, etc.
 .
 The upshot is that there is no need for the usual "libfoo.so ->
 libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
 and no need to communicate an alternate filename to use at run-time
 vs compile time.  If linking to a Rust dylib from C/C++ however, a
 "libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
 this case DT_SONAME=libfoo-$hash.so would be required.  More
 mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
 find DT_SONAME on shared libraries in public directories.
 .
 This patch passes -Wl,-soname=$outfile when building dylibs (and
 using a GNU linker).
d dont download stage0.patch | (download)

src/bootstrap/bootstrap.py | 13 7 + 6 - 0 !
1 file changed, 7 insertions(+), 6 deletions(-)

 don't download sha256 if it's already available locally
 In Debian we provide the stage0 tarballs as a separate component so that the
 buildds don't need to access the network during the build.
d read beta version from file.patch | (download)

src/bootstrap/lib.rs | 40 6 + 34 - 0 !
1 file changed, 6 insertions(+), 34 deletions(-)

---
d ignore avx 44056.patch | (download)

src/test/ui/issues/issue-44056.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
d i686 baseline.patch | (download)

src/librustc_target/spec/i686_unknown_linux_gnu.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
d no jemalloc.patch | (download)

src/rustc/Cargo.toml | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

---
d fix mips64el bootstrap.patch | (download)

src/bootstrap/bootstrap.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
d add bootstrap checksums.patch | (download)

stage0/2019-12-19/cargo-0.41.0-aarch64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-i686-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-mips-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-mipsel-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-s390x-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/cargo-0.41.0-x86_64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-aarch64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-armv5te-unknown-linux-gnueabi.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-i686-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-mips-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-mipsel-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-s390x-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rust-std-1.40.0-x86_64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-aarch64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-i686-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-mips-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-mipsel-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-s390x-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
stage0/2019-12-19/rustc-1.40.0-x86_64-unknown-linux-gnu.tar.xz.sha256 | 1 1 + 0 - 0 !
28 files changed, 28 insertions(+)

 signatures for stage0 binaries