Package: rustc / 1.63.0+dfsg1-2

Metadata

Package Version Patches format
rustc 1.63.0+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
u ignore reproducible failure.patch | (download)

src/test/run-make-fulldeps/reproducible-build-2/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 u-ignore-reproducible-failure

Bug: https://github.com/rust-lang/rust/issues/89911

u reproducible build.patch | (download)

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

 don't split dwarf debug for a fully-reproducible build

Bug: https://github.com/rust-lang/rust/issues/34902

u ignore endian big diff.patch | (download)

src/test/ui/consts/const-eval/ub-enum.rs | 1 1 + 0 - 0 !
src/test/ui/consts/const-eval/ub-int-array.rs | 1 1 + 0 - 0 !
src/test/ui/consts/const-eval/ub-nonnull.rs | 1 1 + 0 - 0 !
src/test/ui/consts/const-eval/ub-ref-ptr.rs | 1 1 + 0 - 0 !
src/test/ui/consts/const-eval/ub-uninhabit.rs | 1 1 + 0 - 0 !
src/test/ui/consts/const-eval/ub-wide-ptr.rs | 1 1 + 0 - 0 !
6 files changed, 6 insertions(+)

 u-ignore-endian-big-diff

Bug: https://github.com/rust-lang/rust/issues/89577

===================================================================

u arm compiler builtins weak linkage arm.patch | (download)

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

 [patch] update macros.rs


u arm compiler builtins add sync builtin fallbacks.patch | (download)

vendor/compiler_builtins/src/arm_linux.rs | 110 73 + 37 - 0 !
1 file changed, 73 insertions(+), 37 deletions(-)

 [patch] add compiler-rt fallbacks for sync builtins on armv5te-musl.


u ignore ppc hangs.patch | (download)

library/alloc/tests/arc.rs | 1 1 + 0 - 0 !
library/alloc/tests/rc.rs | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 u-ignore-ppc-hangs

Bug: https://github.com/rust-lang/rust/issues/89607

u ignore bpf test.patch | (download)

src/test/assembly/asm/bpf-types.rs | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 u-ignore-bpf-test

Bug: https://github.com/rust-lang/rust/issues/89689

u rustc llvm cross flags.patch | (download)

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

 u-rustc-llvm-cross-flags

===================================================================

u reproducible dl stage0.patch | (download)

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

 u-reproducible-dl-stage0

===================================================================

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-make-tests-work-without-rpath

d 0000 ignore removed submodules.patch | (download)

Cargo.toml | 29 0 + 29 - 0 !
src/bootstrap/bootstrap.py | 15 0 + 15 - 0 !
src/bootstrap/builder.rs | 7 1 + 6 - 0 !
src/bootstrap/doc.rs | 1 0 + 1 - 0 !
src/bootstrap/test.rs | 12 1 + 11 - 0 !
src/tools/clippy/Cargo.toml | 5 0 + 5 - 0 !
src/tools/rustfmt/Cargo.toml | 5 0 + 5 - 0 !
src/tools/tidy/src/deps.rs | 2 1 + 1 - 0 !
8 files changed, 3 insertions(+), 73 deletions(-)

 d-0000-ignore-removed-submodules


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

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

 d-0002-pkg-config-no-special-snowflake


d 0002 mdbook strip embedded libs.patch | (download)

src/tools/linkchecker/main.rs | 28 26 + 2 - 0 !
vendor/mdbook/src/book/init.rs | 6 0 + 6 - 0 !
vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs | 80 7 + 73 - 0 !
vendor/mdbook/src/renderer/html_handlebars/search.rs | 2 0 + 2 - 0 !
vendor/mdbook/src/theme/index.hbs | 93 2 + 91 - 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, 35 insertions(+), 203 deletions(-)

 d-0003-mdbook-strip-embedded-libs

Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links

d 0003 cc psm rebuild wasm32.patch | (download)

vendor/cc/src/lib.rs | 2 1 + 1 - 0 !
vendor/psm/build.rs | 7 2 + 5 - 0 !
2 files changed, 3 insertions(+), 6 deletions(-)

 d-0004-cc-psm-rebuild-wasm32


d 0004 clippy feature sync.patch | (download)

src/tools/clippy/Cargo.toml | 3 2 + 1 - 0 !
src/tools/rustfmt/Cargo.toml | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 d-0005-clippy-feature-sync

enable features needed by rustfmt to make build system happy and speedup build.
this is what rustc_workspace_hack does in the upstream build.

d 0005 no jemalloc.patch | (download)

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

 d-0006-no-jemalloc


d bootstrap rustflags.patch | (download)

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

 d-bootstrap-rustflags

===================================================================

d remove arm privacy breaches.patch | (download)

library/stdarch/crates/stdarch-verify/arm-intrinsics.html | 134 0 + 134 - 0 !
1 file changed, 134 deletions(-)

 d-remove-arm-privacy-breaches

===================================================================

d bootstrap install symlinks.patch | (download)

src/tools/rust-installer/install-template.sh | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 install symlinks as-is, don't dereference them

Our patch to mdbook installs symlinks to systems versions of font-awesome,
highlight, etc. Upstream mdbook otherwise doesn't use symlinks, so this
doesn't affect anything else that's already generated.

d bootstrap disable git.patch | (download)

src/bootstrap/channel.rs | 6 5 + 1 - 0 !
src/bootstrap/dist.rs | 5 4 + 1 - 0 !
2 files changed, 9 insertions(+), 2 deletions(-)

 don't check for cargo-vendor when building from (debian's) git

d bootstrap read beta version from file.patch | (download)

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

 d-bootstrap-read-beta-version-from-file

===================================================================

d bootstrap no assume tools.patch | (download)

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

 d-bootstrap-no-assume-tools

===================================================================

d bootstrap cargo doc paths.patch | (download)

src/doc/edition-guide/book.toml | 18 9 + 9 - 0 !
src/doc/edition-guide/src/editions/advanced-migrations.md | 14 7 + 7 - 0 !
src/doc/edition-guide/src/editions/transitioning-an-existing-project-to-a-new-edition.md | 4 2 + 2 - 0 !
src/doc/edition-guide/src/rust-2021/default-cargo-resolver.md | 10 5 + 5 - 0 !
src/doc/index.md | 2 1 + 1 - 0 !
src/doc/reference/src/conditional-compilation.md | 2 1 + 1 - 0 !
src/doc/reference/src/introduction.md | 4 2 + 2 - 0 !
src/doc/reference/src/linkage.md | 2 1 + 1 - 0 !
src/doc/reference/src/procedural-macros.md | 2 1 + 1 - 0 !
src/doc/rustc/src/tests/index.md | 4 2 + 2 - 0 !
src/doc/rustc/src/what-is-rustc.md | 2 1 + 1 - 0 !
src/tools/linkchecker/main.rs | 6 6 + 0 - 0 !
12 files changed, 38 insertions(+), 32 deletions(-)

 fix links to cargo-doc

d bootstrap use local css.patch | (download)

src/bootstrap/doc.rs | 15 4 + 11 - 0 !
1 file changed, 4 insertions(+), 11 deletions(-)

 d-bootstrap-use-local-css

===================================================================

d bootstrap old cargo compat.patch | (download)

src/bootstrap/doc.rs | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 backwards-compat for cargo 0.47

  The flag being removed here was added in
  https://github.com/rust-lang/cargo/pull/9404 released in cargo 0.54
  
  This works around a feature introduced in this PR
  https://github.com/rust-lang/cargo/pull/8640 released in cargo 0.53
  
  Therefore it is not needed for Debian's current cargo 0.47.
  
  We can drop this patch when updating to cargo 0.54 and later.

d bootstrap custom debuginfo path.patch | (download)

src/bootstrap/lib.rs | 5 2 + 3 - 0 !
src/test/codegen/remap_path_prefix/issue-73167-remap-std.rs | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 4 deletions(-)

 d-bootstrap-custom-debuginfo-path

===================================================================

d bootstrap permit symlink in docs.patch | (download)

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

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

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

 d-test-ignore-avx-44056

Bug: https://github.com/rust-lang/rust/pull/55667

===================================================================

d rust gdb paths | (download)

src/etc/rust-gdb | 2 1 + 1 - 0 !
src/etc/rust-gdbgui | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 hardcode gdb python module directory

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

d rustc add soname.patch | (download)

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

 set dt_soname when building dylibs

d rustc fix mips64el bootstrap.patch | (download)

compiler/rustc_target/src/spec/mips64_unknown_linux_gnuabi64.rs | 2 1 + 1 - 0 !
compiler/rustc_target/src/spec/mips64el_unknown_linux_gnuabi64.rs | 2 1 + 1 - 0 !
src/bootstrap/bootstrap.py | 2 2 + 0 - 0 !
src/test/assembly/asm/mips-types.rs | 1 1 + 0 - 0 !
4 files changed, 5 insertions(+), 2 deletions(-)

 d-rustc-fix-mips64el-bootstrap

Bug: https://github.com/rust-lang/rust/issues/52108

===================================================================

d rustc windows ssp.patch | (download)

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

 d-rustc-windows-ssp

Bug: https://github.com/rust-lang/rust/issues/68973

d rustc i686 baseline.patch | (download)

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

 d-rustc-i686-baseline

===================================================================

d rustdoc disable embedded fonts.patch | (download)

src/librustdoc/html/render/write_shared.rs | 2 0 + 2 - 0 !
src/librustdoc/html/static/css/rustdoc.css | 8 0 + 8 - 0 !
src/librustdoc/html/static_files.rs | 23 0 + 23 - 0 !
3 files changed, 33 deletions(-)

 d-rustdoc-disable-embedded-fonts

===================================================================

ubuntu disable ppc64el asm tests.patch | (download)

compiler/rustc_lint/src/builtin.rs | 4 4 + 0 - 0 !
compiler/rustc_lint_defs/src/builtin.rs | 2 2 + 0 - 0 !
src/test/run-make-fulldeps/intrinsic-unreachable/Makefile | 1 1 + 0 - 0 !
3 files changed, 7 insertions(+)

---
ubuntu ignore arm doctest.patch | (download)

compiler/rustc_error_codes/src/error_codes/E0778.md | 4 2 + 2 - 0 !
compiler/rustc_error_codes/src/error_codes/E0779.md | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 disable the doctests for the instruction_set errors
 The fix is as described in the upstream issue.