Package: rustc / 1.46.0+dfsg1-1

Metadata

Package Version Patches format
rustc 1.46.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 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 fix exec.patch | (download)

src/bootstrap/bin/rustc.rs | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 [patch] rustbuild: fix bad usage of unix exec() in rustc wrapper

exec never returns, it replaces the current process. so anything after it is
unreachable. that's not how exec_cmd() is used in the surrounding code

u ignore endian.patch | (download)

src/test/mir-opt/const-promotion-extern-static.rs | 2 1 + 1 - 0 !
src/test/mir-opt/const_allocation.rs | 2 1 + 1 - 0 !
src/test/mir-opt/const_allocation2.rs | 2 1 + 1 - 0 !
src/test/mir-opt/const_allocation3.rs | 2 1 + 1 - 0 !
src/test/mir-opt/inline/inline-into-box-place.rs | 2 1 + 1 - 0 !
src/test/ui/simd/simd-intrinsic-generic-bitmask.rs | 1 1 + 0 - 0 !
src/test/ui/simd/simd-intrinsic-generic-select.rs | 5 1 + 4 - 0 !
src/tools/compiletest/src/header.rs | 1 1 + 0 - 0 !
src/tools/compiletest/src/util.rs | 20 20 + 0 - 0 !
9 files changed, 28 insertions(+), 9 deletions(-)

---
u 1629fed4c0bdc6d3246ea63a91f600bcb8874626.patch | (download)

src/librustc_typeck/check/method/suggest.rs | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 [patch] presort restrictions to make output consistent


u 9abdb6db6f7d50761a701fe17d384d7ea49b015d.patch | (download)

src/librustc_ast_lowering/expr.rs | 2 1 + 1 - 0 !
src/test/ui/asm/bad-arch.rs | 18 18 + 0 - 0 !
src/test/ui/asm/bad-arch.stderr | 8 8 + 0 - 0 !
src/test/ui/feature-gates/feature-gate-asm.rs | 2 1 + 1 - 0 !
src/test/ui/feature-gates/feature-gate-asm2.rs | 2 1 + 1 - 0 !
5 files changed, 29 insertions(+), 3 deletions(-)

 [patch] fix ice when using asm! on an unsupported architecture

Fixes #75220

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 | 28 0 + 28 - 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 | 9 1 + 8 - 0 !
src/doc/index.md | 2 1 + 1 - 0 !
src/tools/tidy/src/deps.rs | 4 2 + 2 - 0 !
7 files changed, 5 insertions(+), 51 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 | 76 2 + 74 - 0 !
vendor/mdbook/src/renderer/html_handlebars/search.rs | 2 0 + 2 - 0 !
vendor/mdbook/src/theme/index.hbs | 97 4 + 93 - 0 !
vendor/mdbook/src/theme/mod.rs | 27 0 + 27 - 0 !
vendor/mdbook/src/theme/searcher/mod.rs | 2 0 + 2 - 0 !
7 files changed, 11 insertions(+), 204 deletions(-)

 use local web resources instead of remote ones
d custom debuginfo path.patch | (download)

src/bootstrap/lib.rs | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

---
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/lldb_commands | 2 1 + 1 - 0 !
src/etc/rust-lldb | 2 1 + 1 - 0 !
2 files 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 rustflags.patch | (download)

src/bootstrap/builder.rs | 15 15 + 0 - 0 !
1 file changed, 15 insertions(+)

---
d windows ssp.patch | (download)

src/librustc_target/spec/windows_gnu_base.rs | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
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 | 14 6 + 8 - 0 !
1 file changed, 6 insertions(+), 8 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(+)

---
d host duplicates.patch | (download)

src/libstd/sys_common/net.rs | 23 0 + 23 - 0 !
1 file changed, 23 deletions(-)

 work around #842634 on some machines, e.g. debian porterboxes
 This should remain commented-out in debian/patches/series, it's not needed everywhere