rustc.git
2 years agod-rustdoc-disable-embedded-fonts
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-rustdoc-disable-embedded-fonts

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

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

2 years agod-rustc-i686-baseline
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-rustc-i686-baseline

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

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

2 years agod-rustc-windows-ssp
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-rustc-windows-ssp

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

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

2 years agod-rustc-fix-mips64el-bootstrap
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-rustc-fix-mips64el-bootstrap

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

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

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

2 years agoSet DT_SONAME when building dylibs
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
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

2 years agoHardcode LLDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
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

2 years agoHardcode GDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
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

2 years agod-armel-fix-lldb
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
d-armel-fix-lldb

run panics if lldb is not installed and no output is produced..

Gbp-Pq: Name d-armel-fix-lldb.patch

2 years agod-bootstrap-cargo-check-cfg
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
d-bootstrap-cargo-check-cfg

our cargo doesn't know about the 'output' part yet, this patch can be dropped
with cargo >= 0.64

Gbp-Pq: Name d-bootstrap-cargo-check-cfg.patch

2 years agod-test-ignore-avx-44056
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-test-ignore-avx-44056

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

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

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

2 years agod-bootstrap-permit-symlink-in-docs
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
d-bootstrap-permit-symlink-in-docs

partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch

2 years agod-bootstrap-custom-debuginfo-path
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-custom-debuginfo-path

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

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

2 years agoBackwards-compat for cargo 0.47
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
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

2 years agod-bootstrap-use-local-css
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-use-local-css

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

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

2 years agoFix links to cargo-doc
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
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

2 years agod-bootstrap-no-assume-tools
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-no-assume-tools

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

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

2 years agod-bootstrap-read-beta-version-from-file
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-bootstrap-read-beta-version-from-file

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

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

2 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
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

2 years agoInstall symlinks as-is, don't dereference them
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
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

2 years agod-remove-arm-privacy-breaches
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-remove-arm-privacy-breaches

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

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

2 years agod-bootstrap-rustflags
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-bootstrap-rustflags

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

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

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

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

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

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

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

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

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

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

2 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

2 years agod-fix-rustix-outline
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
d-fix-rustix-outline

Always enable cc even if the feature is not enabled.

Some Debian architectures need outline asm, and Debian does not ship pre-built
outline asm.

Gbp-Pq: Name d-fix-rustix-outline.patch

2 years agou-make-tests-work-without-rpath
Chris Coulson [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

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

2 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-reproducible-dl-stage0

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

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

2 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-rustc-llvm-cross-flags

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

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

2 years agou-ignore-ppc-hangs
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-ppc-hangs

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

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

2 years agou-fix-rustix-for-sparc64
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
u-fix-rustix-for-sparc64

Gbp-Pq: Name u-fix-rustix-for-sparc64.patch

2 years agoFix sysroot detection which would result in /usr/lib/lib/rustlib
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
Fix sysroot detection which would result in /usr/lib/lib/rustlib

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

This patch is a mixture of two upstream fix attempts. The first from
https://github.com/rust-lang/rust/pull/108376 didn't actually solve the
problem in Debian's case. After reporting that in $Bug, a second attempt is
made at https://github.com/rust-lang/rust/pull/110281, which worked.

Gbp-Pq: Name u-fix-sysroot-detection-logic.patch

2 years agoFix get_toml() when cfg(test)
Debian Rust Maintainers [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
Fix get_toml() when cfg(test)

Bug: https://github.com/rust-lang/rust/issues/105766
Last-Update: 2023-03-29

When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch

2 years agou-ignore-endian-big-diff
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-endian-big-diff

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

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

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

2 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
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

2 years agou-ignore-reproducible-failure
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-reproducible-failure

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

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

2 years agorustc (1.68.2+dfsg1-1) unstable; urgency=medium
Fabian Grünbichler [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
rustc (1.68.2+dfsg1-1) unstable; urgency=medium

  * Upload to unstable

[dgit import unpatched rustc 1.68.2+dfsg1-1]

2 years agoImport rustc_1.68.2+dfsg1-1.debian.tar.xz
Fabian Grünbichler [Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)]
Import rustc_1.68.2+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.68.2+dfsg1-1 rustc_1.68.2+dfsg1-1.debian.tar.xz]

2 years agoImport rustc_1.68.2+dfsg1.orig.tar.xz
Fabian Grünbichler [Wed, 2 Aug 2023 11:17:47 +0000 (12:17 +0100)]
Import rustc_1.68.2+dfsg1.orig.tar.xz

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