Package: rustc / 1.42.0+dfsg1-1

Metadata

Package Version Patches format
rustc 1.42.0+dfsg1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
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 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 | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 various fixes for rust on mips
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 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 | 8 1 + 7 - 0 !
src/bootstrap/doc.rs | 1 0 + 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, 15 insertions(+), 58 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 | 28 11 + 17 - 0 !
vendor/pkg-config/tests/test.rs | 2 0 + 2 - 0 !
2 files changed, 11 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/miri_unleashed/drop.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/derives/deriving-meta-unknown-trait.stderr | 18 4 + 14 - 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-17546.stderr | 18 4 + 14 - 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/issues/issue-38857.stderr | 4 0 + 4 - 0 !
src/test/ui/issues/issue-7607-1.stderr | 9 2 + 7 - 0 !
src/test/ui/macros/macro-name-typo.stderr | 9 2 + 7 - 0 !
src/test/ui/macros/macro-path-prelude-fail-3.stderr | 9 2 + 7 - 0 !
src/test/ui/no-send-res-ports.stderr | 5 0 + 5 - 0 !
src/test/ui/proc-macro/parent-source-spans.stderr | 15 0 + 15 - 0 !
src/test/ui/proc-macro/resolve-error.stderr | 18 4 + 14 - 0 !
src/test/ui/resolve/levenshtein.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/stability-in-private-module.stderr | 4 0 + 4 - 0 !
src/test/ui/suggestions/attribute-typos.stderr | 9 2 + 7 - 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 !
30 files changed, 20 insertions(+), 247 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 | 28 6 + 22 - 0 !
1 file changed, 6 insertions(+), 22 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 use local css.patch | (download)

src/bootstrap/doc.rs | 8 2 + 6 - 0 !
1 file changed, 2 insertions(+), 6 deletions(-)

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

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

---