rustc-mozilla.git
4 years agod-rustflags
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-rustflags

Gbp-Pq: Name d-rustflags.patch

4 years agoSet DT_SONAME when building dylibs
Angus Lees [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Set DT_SONAME when building dylibs

Forwarded: no

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).

Gbp-Pq: Name d-add-soname.patch

4 years agoHardcode LLDB python module directory
Angus Lees [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Hardcode LLDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-lldb-paths

4 years agoHardcode GDB python module directory
Angus Lees [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Hardcode GDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-gdb-paths

4 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-disable-cargo-vendor.patch

4 years agod-custom-debuginfo-path
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-custom-debuginfo-path

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

Gbp-Pq: Name d-custom-debuginfo-path.patch

4 years agod-0004-cc-psm-rebuild-wasm32
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-0004-cc-psm-rebuild-wasm32

Gbp-Pq: Name d-0004-cc-psm-rebuild-wasm32.patch

4 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Use local web resources instead of remote ones

Bug: https://github.com/azerupi/mdBook/issues/271
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

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
Gbp-Pq: Name d-0003-mdbook-strip-embedded-libs.patch

4 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-0002-pkg-config-no-special-snowflake

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

Gbp-Pq: Name d-0002-pkg-config-no-special-snowflake.patch

4 years agod-0001-disable-miniz
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-0001-disable-miniz

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

Gbp-Pq: Name d-0001-disable-miniz.patch

4 years agoIgnore submodules that we're not building, or that are unused like
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Ignore submodules that we're not building, or that are unused like

Forwarded: not-needed

mdbook-linkcheck that pull in a ton of dependencies that are unneeded.
===================================================================

Gbp-Pq: Name d-0000-ignore-removed-submodules.patch

4 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-reproducible-dl-stage0

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

Gbp-Pq: Name u-reproducible-dl-stage0.patch

4 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-rustc-llvm-cross-flags

Gbp-Pq: Name u-rustc-llvm-cross-flags.patch

4 years agou-ignore-endian-big
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-ignore-endian-big

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

Gbp-Pq: Name u-ignore-endian-big.patch

4 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2020-03-23

Gbp-Pq: Name u-mips-fixes.diff

4 years agothis test is new in 1.40 and the failure is present on many
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
this test is new in 1.40 and the failure is present on many

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

previous rust versions without users having complained or noticed, so
just ignore the failure until upstream fixes it

Gbp-Pq: Name u-tests-ignore-arm.patch

4 years agou-make-tests-work-without-rpath
Chris Coulson [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

Gbp-Pq: Name u-make-tests-work-without-rpath.patch

4 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Don't split dwarf debug for a fully-reproducible build

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

Gbp-Pq: Name u-reproducible-build.patch

4 years agou-ignore-gdb-10-failures
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-ignore-gdb-10-failures

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

Gbp-Pq: Name u-ignore-gdb-10-failures.patch

4 years agou-8d504aa90416668d8f6b4cbd449e2e1de20fb937
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-8d504aa90416668d8f6b4cbd449e2e1de20fb937

commit 8d504aa90416668d8f6b4cbd449e2e1de20fb937
Bug: https://github.com/rust-lang/rust/issues/84057
Author: Ximin Luo <infinity0@pwned.gg>
Date:   Sun Apr 11 13:47:58 2021 +0100

    bootstrap: check local_rebuild before adding --cfg=bootstrap, closes #84057

Gbp-Pq: Name u-8d504aa90416668d8f6b4cbd449e2e1de20fb937.patch

4 years ago[PATCH] Check for asm support in UI tests that require it
Tomasz Miąsko [Sun, 11 Apr 2021 00:00:00 +0000 (00:00 +0000)]
[PATCH] Check for asm support in UI tests that require it

Add `needs-asm-support` compiletest directive, and use it in asm tests
that require asm support without relying on any architecture specific
features.

Gbp-Pq: Name u-84099.patch

4 years ago[PATCH] Revert "Auto merge of #79547 - erikdesjardins:byval, r=nagisa"
Josh Stone [Fri, 19 Feb 2021 03:14:58 +0000 (19:14 -0800)]
[PATCH] Revert "Auto merge of #79547 - erikdesjardins:byval, r=nagisa"

This reverts commit a094ff9590b83c8f94d898f92c2964a5803ded06, reversing
changes made to d37afad0cc87bf709ad10c85319296ac53030f03.

See https://github.com/rust-lang/rust/issues/80810 for more background

Gbp-Pq: Name 0001-Revert-Auto-merge-of-79547.patch

4 years agou-fix-self-bootstrap
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
u-fix-self-bootstrap

Gbp-Pq: Name u-fix-self-bootstrap.patch

4 years ago[PATCH] bootstrap: Disable initial-exec TLS model on powerpc
John Paul Adrian Glaubitz [Sat, 29 May 2021 12:38:46 +0000 (12:38 +0000)]
[PATCH] bootstrap: Disable initial-exec TLS model on powerpc

Fixes #81334.

Gbp-Pq: Name u-85807.patch

4 years agorustc (1.51.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
rustc (1.51.0+dfsg1-1) unstable; urgency=medium

  * Upload to unstable.
  * Install the rust-llvm-dwp symlink.
  * Bump ppc64 allowed-failures to 24.

[dgit import unpatched rustc 1.51.0+dfsg1-1]

4 years agoImport rustc_1.51.0+dfsg1-1.debian.tar.xz
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Import rustc_1.51.0+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.51.0+dfsg1-1 rustc_1.51.0+dfsg1-1.debian.tar.xz]

4 years agoImport rustc_1.51.0+dfsg1.orig.tar.xz
Ximin Luo [Mon, 12 Apr 2021 10:04:36 +0000 (11:04 +0100)]
Import rustc_1.51.0+dfsg1.orig.tar.xz

[dgit import orig rustc_1.51.0+dfsg1.orig.tar.xz]