rustc-mozilla.git
3 years agoMerge rustc (1.57.0+dfsg1-1) import into refs/heads/workingbranch
Ximin Luo [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
Merge rustc (1.57.0+dfsg1-1) import into refs/heads/workingbranch

3 years ago[PATCH 2/4] Fix CVE-2022-21658 for UNIX-like
Hans Kratz [Mon, 17 Jan 2022 08:45:46 +0000 (09:45 +0100)]
[PATCH 2/4] Fix CVE-2022-21658 for UNIX-like

Gbp-Pq: Name u-Fix-CVE-2022-21658-for-UNIX-like.patch

3 years agod-rustdoc-disable-embedded-fonts
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-rustdoc-disable-embedded-fonts

Gbp-Pq: Name d-rustdoc-disable-embedded-fonts.patch

3 years agod-rustc-i686-baseline
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-rustc-i686-baseline

Gbp-Pq: Name d-rustc-i686-baseline.patch

3 years agod-rustc-windows-ssp
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-rustc-windows-ssp

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

Gbp-Pq: Name d-rustc-windows-ssp.patch

3 years agod-rustc-fix-mips64el-bootstrap
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-rustc-fix-mips64el-bootstrap

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

Gbp-Pq: Name d-rustc-fix-mips64el-bootstrap.patch

3 years agoSet DT_SONAME when building dylibs
Angus Lees [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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-rustc-add-soname.patch

3 years agoHardcode LLDB python module directory
Angus Lees [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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

3 years agoHardcode GDB python module directory
Angus Lees [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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

3 years agod-test-ignore-avx-44056
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-test-ignore-avx-44056

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

Gbp-Pq: Name d-test-ignore-avx-44056.patch

3 years agod-bootstrap-custom-debuginfo-path
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-bootstrap-custom-debuginfo-path

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

3 years agoBackwards-compat for cargo 0.47
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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.

Gbp-Pq: Name d-bootstrap-old-cargo-compat.patch

3 years agod-bootstrap-use-local-css
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-bootstrap-use-local-css

Gbp-Pq: Name d-bootstrap-use-local-css.patch

3 years agoFix links to cargo-doc
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
Fix links to cargo-doc

We package cargo docs in a slightly different location; also tweak linkchecker
to not fail these links.

Gbp-Pq: Name d-bootstrap-cargo-doc-paths.patch

3 years agod-bootstrap-no-assume-tools
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-bootstrap-no-assume-tools

Gbp-Pq: Name d-bootstrap-no-assume-tools.patch

3 years agod-bootstrap-read-beta-version-from-file
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-bootstrap-read-beta-version-from-file

Gbp-Pq: Name d-bootstrap-read-beta-version-from-file.patch

3 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-bootstrap-disable-git.patch

3 years agoInstall symlinks as-is, don't dereference them
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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.

Gbp-Pq: Name d-bootstrap-install-symlinks.patch

3 years agod-remove-arm-privacy-breaches
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-remove-arm-privacy-breaches

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

Gbp-Pq: Name d-remove-arm-privacy-breaches.patch

3 years agod-bootstrap-rustflags
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
d-bootstrap-rustflags

Gbp-Pq: Name d-bootstrap-rustflags.patch

3 years agod-0006-no-jemalloc
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0006-no-jemalloc

Gbp-Pq: Name d-0006-no-jemalloc.patch

3 years agod-0005-clippy-feature-sync
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
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.

Gbp-Pq: Name d-0005-clippy-feature-sync.patch

3 years agod-0004-cc-psm-rebuild-wasm32
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0004-cc-psm-rebuild-wasm32

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

3 years agod-0003-mdbook-strip-embedded-libs
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
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

Gbp-Pq: Name d-0003-mdbook-strip-embedded-libs.patch

3 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0002-pkg-config-no-special-snowflake

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

3 years agod-0001-disable-miniz
Debian Rust Maintainers [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0001-disable-miniz

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

3 years agod-0000-ignore-removed-submodules
Debian Rust Maintainers [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0000-ignore-removed-submodules

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

3 years agou-make-tests-work-without-rpath
Chris Coulson [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

3 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-reproducible-dl-stage0

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

3 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-rustc-llvm-cross-flags

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

3 years agou-ignore-bpf-test
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-ignore-bpf-test

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

Gbp-Pq: Name u-ignore-bpf-test.patch

3 years agou-ignore-ppc-hangs
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-ignore-ppc-hangs

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

Gbp-Pq: Name u-ignore-ppc-hangs.patch

3 years ago[PATCH] bootstrap: tweak verbosity settings
Ximin Luo [Sat, 16 Oct 2021 12:30:24 +0000 (13:30 +0100)]
[PATCH] bootstrap: tweak verbosity settings

Currently the verbosity settings are:
- 2: RUSTC-SHIM envvars get spammed on every invocation, O(30) lines
     cargo is passed -v which outputs CLI invocations, O(5) lines
- 3: cargo is passed -vv which outputs build script output, O(0-10) lines

This commit changes it to:

- 1: cargo is passed -v, O(5) lines
- 2: cargo is passed -vv, O(10) lines
- 3: RUSTC-SHIM envvars get spammed, O(30) lines

Gbp-Pq: Name u-89950.patch

3 years agou-cc-627
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-cc-627

Forwarded: https://github.com/alexcrichton/cc-rs/pull/627

Gbp-Pq: Name u-cc-627.patch

3 years agou-ignore-endian-big-diff
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-ignore-endian-big-diff

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

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

3 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
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

3 years agou-ignore-reproducible-failure
Debian Rust Maintainers [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
u-ignore-reproducible-failure

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

Gbp-Pq: Name u-ignore-reproducible-failure.patch

3 years agorustc (1.57.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
rustc (1.57.0+dfsg1-1) unstable; urgency=medium

  * Upload to unstable. (Closes: #1005203)

[dgit import unpatched rustc 1.57.0+dfsg1-1]

3 years agoImport rustc_1.57.0+dfsg1-1.debian.tar.xz
Ximin Luo [Tue, 8 Mar 2022 10:51:18 +0000 (10:51 +0000)]
Import rustc_1.57.0+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.57.0+dfsg1-1 rustc_1.57.0+dfsg1-1.debian.tar.xz]

3 years agoImport rustc_1.57.0+dfsg1.orig.tar.xz
Fabian Grünbichler [Thu, 3 Feb 2022 18:14:04 +0000 (18:14 +0000)]
Import rustc_1.57.0+dfsg1.orig.tar.xz

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

4 years agoMerge rustc (1.56.0+dfsg1-2) import into refs/heads/workingbranch
Ximin Luo [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
Merge rustc (1.56.0+dfsg1-2) import into refs/heads/workingbranch

4 years agod-rustdoc-disable-embedded-fonts
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-rustdoc-disable-embedded-fonts

Gbp-Pq: Name d-rustdoc-disable-embedded-fonts.patch

4 years agod-rustc-i686-baseline
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-rustc-i686-baseline

Gbp-Pq: Name d-rustc-i686-baseline.patch

4 years agod-rustc-windows-ssp
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-rustc-windows-ssp

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

Gbp-Pq: Name d-rustc-windows-ssp.patch

4 years agod-rustc-fix-mips64el-bootstrap
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-rustc-fix-mips64el-bootstrap

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

Gbp-Pq: Name d-rustc-fix-mips64el-bootstrap.patch

4 years agoSet DT_SONAME when building dylibs
Angus Lees [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +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-rustc-add-soname.patch

4 years agoHardcode LLDB python module directory
Angus Lees [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +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 [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +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 agod-test-ignore-avx-44056
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-test-ignore-avx-44056

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

Gbp-Pq: Name d-test-ignore-avx-44056.patch

4 years agod-bootstrap-custom-debuginfo-path
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-bootstrap-custom-debuginfo-path

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

4 years agoBackwards-compat for cargo 0.47
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
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.

Gbp-Pq: Name d-bootstrap-old-cargo-compat.patch

4 years agod-bootstrap-use-local-css
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-bootstrap-use-local-css

Gbp-Pq: Name d-bootstrap-use-local-css.patch

4 years agoDon't download SHA256 if it's already available locally
Ximin Luo [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
Don't download SHA256 if it's already available locally

Forwarded: not-needed

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.
Forwarded: not-needed
Gbp-Pq: Name d-bootstrap-dont-download-stage0.patch

4 years agoFix links to cargo-doc
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
Fix links to cargo-doc

We package cargo docs in a slightly different location; also tweak linkchecker
to not fail these links.

Gbp-Pq: Name d-bootstrap-cargo-doc-paths.patch

4 years agod-bootstrap-no-assume-tools
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-bootstrap-no-assume-tools

Gbp-Pq: Name d-bootstrap-no-assume-tools.patch

4 years agod-bootstrap-read-beta-version-from-file
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-bootstrap-read-beta-version-from-file

Gbp-Pq: Name d-bootstrap-read-beta-version-from-file.patch

4 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-bootstrap-disable-git.patch

4 years agoInstall symlinks as-is, don't dereference them
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
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.

Gbp-Pq: Name d-bootstrap-install-symlinks.patch

4 years agod-bootstrap-rustflags
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
d-bootstrap-rustflags

Gbp-Pq: Name d-bootstrap-rustflags.patch

4 years agod-0006-no-jemalloc
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0006-no-jemalloc

Gbp-Pq: Name d-0006-no-jemalloc.patch

4 years agod-0005-clippy-feature-sync
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
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.

Gbp-Pq: Name d-0005-clippy-feature-sync.patch

4 years agod-0004-cc-psm-rebuild-wasm32
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0004-cc-psm-rebuild-wasm32

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

4 years agod-0003-mdbook-strip-embedded-libs
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
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

Gbp-Pq: Name d-0003-mdbook-strip-embedded-libs.patch

4 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +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 [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0001-disable-miniz

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

4 years agod-0000-ignore-removed-submodules
Debian Rust Maintainers [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0000-ignore-removed-submodules

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

4 years agou-make-tests-work-without-rpath
Chris Coulson [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

4 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-reproducible-dl-stage0

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

4 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-rustc-llvm-cross-flags

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

4 years agou-ignore-bpf-test
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-ignore-bpf-test

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

Gbp-Pq: Name u-ignore-bpf-test.patch

4 years agou-ignore-ppc-hangs
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-ignore-ppc-hangs

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

Gbp-Pq: Name u-ignore-ppc-hangs.patch

4 years ago[PATCH] Fix function-names test for GDB 10.1
Michael Woerister [Mon, 11 Oct 2021 15:20:45 +0000 (17:20 +0200)]
[PATCH] Fix function-names test for GDB 10.1

Gbp-Pq: Name u-89772.patch

4 years ago[PATCH] bootstrap: tweak verbosity settings
Ximin Luo [Sat, 16 Oct 2021 12:30:24 +0000 (13:30 +0100)]
[PATCH] bootstrap: tweak verbosity settings

Currently the verbosity settings are:
- 2: RUSTC-SHIM envvars get spammed on every invocation, O(30) lines
     cargo is passed -v which outputs CLI invocations, O(5) lines
- 3: cargo is passed -vv which outputs build script output, O(0-10) lines

This commit changes it to:

- 1: cargo is passed -v, O(5) lines
- 2: cargo is passed -vv, O(10) lines
- 3: RUSTC-SHIM envvars get spammed, O(30) lines

Gbp-Pq: Name u-89950.patch

4 years agou-cc-627
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-cc-627

Forwarded: https://github.com/alexcrichton/cc-rs/pull/627

Gbp-Pq: Name u-cc-627.patch

4 years agou-ignore-endian-big-diff
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-ignore-endian-big-diff

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

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

4 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +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 ago[PATCH] Change more x64 size checks to not apply to x32.
Harald van Dijk [Sun, 5 Sep 2021 15:42:36 +0000 (16:42 +0100)]
[PATCH] Change more x64 size checks to not apply to x32.

Commit 95e096d6 changed a bunch of size checks already, but more have
been added, so this fixes the new ones the same way: the various size
checks that are conditional on target_arch = "x86_64" were not intended
to apply to x86_64-unknown-linux-gnux32, so add
target_pointer_width = "64" to the conditions.

Gbp-Pq: Name u-88668.patch

4 years ago[PATCH] fix: alloc-optimisation is only for rust llvm
Ximin Luo [Wed, 6 Oct 2021 09:22:03 +0000 (10:22 +0100)]
[PATCH] fix: alloc-optimisation is only for rust llvm

Gbp-Pq: Name u-89591.patch

4 years agou-ignore-reproducible-failure
Debian Rust Maintainers [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
u-ignore-reproducible-failure

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

Gbp-Pq: Name u-ignore-reproducible-failure.patch

4 years agorustc (1.56.0+dfsg1-2) unstable; urgency=medium
Ximin Luo [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
rustc (1.56.0+dfsg1-2) unstable; urgency=medium

  * Update to debhelper 13.

[dgit import unpatched rustc 1.56.0+dfsg1-2]

4 years agoImport rustc_1.56.0+dfsg1-2.debian.tar.xz
Ximin Luo [Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +0100)]
Import rustc_1.56.0+dfsg1-2.debian.tar.xz

[dgit import tarball rustc 1.56.0+dfsg1-2 rustc_1.56.0+dfsg1-2.debian.tar.xz]

4 years agoImport rustc_1.56.0+dfsg1.orig.tar.xz
Ximin Luo [Fri, 22 Oct 2021 17:54:49 +0000 (18:54 +0100)]
Import rustc_1.56.0+dfsg1.orig.tar.xz

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

4 years agoMerge rustc (1.51.0+dfsg1-1) import into refs/heads/workingbranch
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Merge rustc (1.51.0+dfsg1-1) import into refs/heads/workingbranch

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

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

Gbp-Pq: Name d-fix-mips64el-bootstrap.patch

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

Gbp-Pq: Name d-use-local-css.patch

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

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

Gbp-Pq: Name d-no-jemalloc.patch

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

Gbp-Pq: Name d-i686-baseline.patch

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

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

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

Gbp-Pq: Name d-ignore-avx-44056.patch

4 years agod-read-beta-version-from-file
Debian Rust Maintainers [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
d-read-beta-version-from-file

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

Gbp-Pq: Name d-read-beta-version-from-file.patch

4 years agoDon't download SHA256 if it's already available locally
Ximin Luo [Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)]
Don't download SHA256 if it's already available locally

Forwarded: not-needed

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.
Forwarded: not-needed
Gbp-Pq: Name d-dont-download-stage0.patch

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

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

Gbp-Pq: Name d-windows-ssp.patch

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