rustc.git
14 months agoMerge tag '1.80.1+dfsg1-1' into trixie-staging archive/raspbian/1.80.1+dfsg1-1+rpi1 raspbian/1.80.1+dfsg1-1+rpi1
Peter Michael Green [Thu, 19 Sep 2024 22:48:46 +0000 (23:48 +0100)]
Merge tag '1.80.1+dfsg1-1' into trixie-staging

15 months agoMerge tag '1.79.0+dfsg1-2' into trixie-staging archive/raspbian/1.79.0+dfsg1-2+rpi1 raspbian/1.79.0+dfsg1-2+rpi1
Peter Michael Green [Thu, 12 Sep 2024 22:35:02 +0000 (22:35 +0000)]
Merge tag '1.79.0+dfsg1-2' into trixie-staging

15 months agoMerge rustc (1.80.1+dfsg1-1) import into refs/heads/workingbranch
Fabian Grünbichler [Wed, 4 Sep 2024 18:13:19 +0000 (20:13 +0200)]
Merge rustc (1.80.1+dfsg1-1) import into refs/heads/workingbranch

15 months agoonig_sys: use system lib
Fabian Grünbichler [Wed, 31 Jul 2024 08:29:04 +0000 (10:29 +0200)]
onig_sys: use system lib

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic vendor
Gbp-Pq: Name onig_sys-use-system-lib.patch

15 months agoRevert "loongarch: add frecipe and relax target feature"
Fabian Grünbichler [Mon, 24 Jun 2024 06:23:42 +0000 (08:23 +0200)]
Revert "loongarch: add frecipe and relax target feature"

This reverts commit e81df3f3225ce53921a87b9e490959c41b783b02.

Debian: this commit breaks a lot of tests on loong64 since our rustc build is
still based on LLVM-17. This revert should be dropped once we switch over to
LLVM 18.

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

Gbp-Pq: Topic upstream
Gbp-Pq: Name Revert-loongarch-add-frecipe-and-relax-target-feature.patch

15 months agoDisable the doctests for the instruction_set errors
Simon Chopin [Thu, 13 Jun 2024 09:16:41 +0000 (11:16 +0200)]
Disable the doctests for the instruction_set errors

Bug: https://github.com/rust-lang/rust/issues/83453
Last-Update: 2022-02-23

The fix is as described in the upstream issue.

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name ubuntu-ignore-arm-doctest.patch

15 months agoubuntu-disable-ppc64el-asm-tests
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:41 +0000 (11:16 +0200)]
ubuntu-disable-ppc64el-asm-tests

Forwarded: not-needed

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name ubuntu-disable-ppc64el-asm-tests.patch

15 months agoremoved some embedded fonts
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
removed some embedded fonts

Forwarded: not-needed
===================================================================

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

15 months agoChange i686 to match Debian i386 baseline
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Change i686 to match Debian i386 baseline

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973414 , might need to be
adapted to reduce the baseline again

Forwarded: not-needed

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

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

15 months 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: Topic behaviour
Gbp-Pq: Name d-rustc-windows-ssp.patch

15 months 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

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

Forwarded: no

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rustc-add-soname.patch

15 months agoHardcode LLDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode LLDB python module directory

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

Forwarded: not-needed

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-lldb-paths.patch

15 months agoHardcode GDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode GDB python module directory

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

Forwarded: not-needed

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-gdb-paths.patch

15 months agorun panics if lldb is not installed and no output is produced..
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)]
run panics if lldb is not installed and no output is produced..

Forwarded: no

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

15 months 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
Forwarded: not-needed

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

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

15 months agopartial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)]
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

Forwarded: not-needed

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

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

Forwarded: not-needed
===================================================================

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

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

Forwarded: not-needed
===================================================================

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

15 months 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.

Forwarded: not-needed

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

15 months agoset tools to those built in Debian
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
set tools to those built in Debian

Forwarded: not-needed
===================================================================

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

15 months 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

Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-disable-git.patch

15 months 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.

Forwarded: not-needed

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

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

Forwarded: not-needed

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

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

15 months 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

Forwarded: not-needed

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

15 months agoFix hurd build (#1064)
Samuel Thibault [Tue, 28 May 2024 16:20:53 +0000 (18:20 +0200)]
Fix hurd build (#1064)

Forwarded: https://github.com/bytecodealliance/rustix/pull/1064

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-rustix.patch

15 months agou-hurd-gix-index-2
Debian Rust Maintainers [Wed, 19 Jun 2024 05:48:44 +0000 (07:48 +0200)]
u-hurd-gix-index-2

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

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-gix-index-2.patch

15 months agou-hurd-gix-index
Various [Wed, 19 Jun 2024 05:49:55 +0000 (07:49 +0200)]
u-hurd-gix-index

commit daf3844c8f5ce6d0812e35677b1a46d568e226db
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun May 26 21:13:40 2024 +0200

    hurd: fix accessing st_[mc]time

    GNU/Hurd uses a st_[mc]tim timespec, like aix

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-gix-index.patch

15 months agod-0021-vendor-remove-windows-dependencies
Fabian Grünbichler [Wed, 6 Sep 2023 19:23:24 +0000 (13:23 -0600)]
d-0021-vendor-remove-windows-dependencies

use something like

 find vendor -iname Cargo.toml -exec grep -H -n -e 'schannel' -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find dependencies on windows targets in vendored crates. you will likely
need to remove some hunks from this patch after pruning dependencies, since
hopefully a few of the crates patched during early rebasing are eliminated.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0021-vendor-remove-windows-dependencies.patch

15 months agod-0020-remove-windows-dependencies
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0020-remove-windows-dependencies

use something like

 find src compiler library -iname Cargo.toml -exec grep -H -n -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find and eliminate dependencies on windows-only crates when rebasing.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

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

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0020-remove-windows-dependencies.patch

15 months agod-0011-cargo-remove-nghttp2
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0011-cargo-remove-nghttp2

Description: remove dependency on libnghttp2-sys so it can be pruned.

Last-Update: 2023-05-17

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0011-cargo-remove-nghttp2.patch

15 months agod-0010-cargo-remove-vendored-c-crates
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0010-cargo-remove-vendored-c-crates

Description: remove all vendoring features of crates normally shipping bundled
C libs. that C code is stripped when repacking, so the features can't work
anyway.

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0010-cargo-remove-vendored-c-crates.patch

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

Description: remove jemalloc-sys

Forwarded: not-needed

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

15 months 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

Description: 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

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0002-mdbook-strip-embedded-libs.patch

15 months 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

Description: always enable cross compilation via pkgconf, and set the right binary name.

Forwarded: not-needed

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

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

Description: remove upstream parts that are not needed for the Debian build, in
order to both reduce the orig tarball and the vendored crates within.

Forwarded: not-needed

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

15 months agod-disable-download-tests
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-disable-download-tests

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name d-disable-download-tests.patch

15 months agod-ignore-test_arc_condvar_poison-ppc
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-ignore-test_arc_condvar_poison-ppc

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name d-ignore-test_arc_condvar_poison-ppc.patch

15 months agoThese tests hang or make the box OOM
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
These tests hang or make the box OOM

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name u-hurd-tests.patch

15 months 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: Topic upstream
Gbp-Pq: Name u-rustc-llvm-cross-flags.patch

15 months 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: Topic upstream
Gbp-Pq: Name u-ignore-ppc-hangs.patch

15 months agoFix get_toml() when cfg(test)
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
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: Topic upstream
Gbp-Pq: Name u-fix-get-toml-when-test.patch

15 months agod-0012-cargo-always-return-dev-channel
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0012-cargo-always-return-dev-channel

Last-Update: 2023-05-30
Forwarded: not-needed

Gbp-Pq: Topic cargo
Gbp-Pq: Name d-0012-cargo-always-return-dev-channel.patch

15 months ago[PATCH] tests: add missing cross disabled checks
Fabian Grünbichler [Sat, 19 Nov 2022 09:24:08 +0000 (10:24 +0100)]
[PATCH] tests: add missing cross disabled checks

cross_conmpile::alternate states it should only be used in test cases
after checking cross_compile::disabled(), which is missing here. these
tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both
the host and the alternate cross target would be i686 in that case.

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-0003-tests-add-missing-cross-disabled-checks.patch

15 months agoc-disable-fs-specific-test
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-disable-fs-specific-test

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

Gbp-Pq: Topic cargo
Gbp-Pq: Name c-disable-fs-specific-test.patch

15 months agoc-2200-workaround-x32-test
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-2200-workaround-x32-test

Bug: https://github.com/rust-lang/cargo/issues/10005

Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2200-workaround-x32-test.patch

15 months agoc-2003-workaround-qemu-vfork-command-not-found
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-2003-workaround-qemu-vfork-command-not-found

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

Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2003-workaround-qemu-vfork-command-not-found.patch

15 months agoDisable network tests
Ximin Luo [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
Disable network tests

Forwarded: TODO

Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2002_disable-net-tests.patch

15 months agorustc (1.80.1+dfsg1-1) unstable; urgency=medium
Fabian Grünbichler [Wed, 4 Sep 2024 18:13:19 +0000 (20:13 +0200)]
rustc (1.80.1+dfsg1-1) unstable; urgency=medium

  * upload to unstable

[dgit import unpatched rustc 1.80.1+dfsg1-1]

15 months agoImport rustc_1.80.1+dfsg1-1.debian.tar.xz
Fabian Grünbichler [Wed, 4 Sep 2024 18:13:19 +0000 (20:13 +0200)]
Import rustc_1.80.1+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.80.1+dfsg1-1 rustc_1.80.1+dfsg1-1.debian.tar.xz]

15 months agoMerge tag '1.78.0+dfsg1-2' into trixie-staging archive/raspbian/1.78.0+dfsg1-2+rpi1 raspbian/1.78.0+dfsg1-2+rpi1
Peter Michael Green [Tue, 20 Aug 2024 16:59:26 +0000 (16:59 +0000)]
Merge tag '1.78.0+dfsg1-2' into trixie-staging

16 months agoMerge tag '1.77.2+dfsg1-1' into trixie-staging archive/raspbian/1.77.2+dfsg1-1+rpi1 raspbian/1.77.2+dfsg1-1+rpi1
Peter Michael Green [Sat, 10 Aug 2024 15:39:45 +0000 (15:39 +0000)]
Merge tag '1.77.2+dfsg1-1' into trixie-staging

16 months agoImport rustc_1.80.1+dfsg1.orig.tar.xz
Fabian Grünbichler [Fri, 9 Aug 2024 10:03:01 +0000 (12:03 +0200)]
Import rustc_1.80.1+dfsg1.orig.tar.xz

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

16 months agoMerge tag '1.76.0+dfsg1-1' into trixie-staging archive/raspbian/1.76.0+dfsg1-1+rpi1 raspbian/1.76.0+dfsg1-1+rpi1
Peter Michael Green [Sun, 4 Aug 2024 07:41:44 +0000 (07:41 +0000)]
Merge tag '1.76.0+dfsg1-1' into trixie-staging

16 months agoMerge tag '1.75.0+dfsg1-5' into trixie-staging archive/raspbian/1.75.0+dfsg1-5+rpi1 raspbian/1.75.0+dfsg1-5+rpi1
Peter Michael Green [Fri, 2 Aug 2024 01:29:23 +0000 (01:29 +0000)]
Merge tag '1.75.0+dfsg1-5' into trixie-staging

16 months agoMerge tag '1.74.1+dfsg1-1' into trixie-staging archive/raspbian/1.74.1+dfsg1-1+rpi1 raspbian/1.74.1+dfsg1-1+rpi1
Peter Michael Green [Sun, 28 Jul 2024 17:29:39 +0000 (17:29 +0000)]
Merge tag '1.74.1+dfsg1-1' into trixie-staging

16 months agoMerge tag '1.73.0+dfsg1-1' into trixie-staging archive/raspbian/1.73.0+dfsg1-1+rpi1 raspbian/1.73.0+dfsg1-1+rpi1
Peter Michael Green [Sat, 27 Jul 2024 03:38:37 +0000 (03:38 +0000)]
Merge tag '1.73.0+dfsg1-1' into trixie-staging

16 months agoMerge tag '1.72.1+dfsg1-1' into trixie-staging archive/raspbian/1.72.1+dfsg1-1+rpi1 raspbian/1.72.1+dfsg1-1+rpi1
Peter Michael Green [Thu, 25 Jul 2024 13:42:41 +0000 (13:42 +0000)]
Merge tag '1.72.1+dfsg1-1' into trixie-staging

16 months agoMerge tag '1.71.1+dfsg1-2' into trixie-staging
Peter Michael Green [Tue, 23 Jul 2024 17:35:33 +0000 (17:35 +0000)]
Merge tag '1.71.1+dfsg1-2' into trixie-staging

17 months agoMerge rustc (1.79.0+dfsg1-2) import into refs/heads/workingbranch
Fabian Grünbichler [Thu, 27 Jun 2024 12:30:53 +0000 (14:30 +0200)]
Merge rustc (1.79.0+dfsg1-2) import into refs/heads/workingbranch

17 months agoRevert "loongarch: add frecipe and relax target feature"
Fabian Grünbichler [Mon, 24 Jun 2024 06:23:42 +0000 (08:23 +0200)]
Revert "loongarch: add frecipe and relax target feature"

This reverts commit e81df3f3225ce53921a87b9e490959c41b783b02.

Debian: this commit breaks a lot of tests on loong64 since our rustc build is
still based on LLVM-17. This revert should be dropped once we switch over to
LLVM 18.

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

Gbp-Pq: Topic upstream
Gbp-Pq: Name Revert-loongarch-add-frecipe-and-relax-target-feature.patch

17 months agoDisable the doctests for the instruction_set errors
Simon Chopin [Thu, 13 Jun 2024 09:16:41 +0000 (11:16 +0200)]
Disable the doctests for the instruction_set errors

Bug: https://github.com/rust-lang/rust/issues/83453
Last-Update: 2022-02-23

The fix is as described in the upstream issue.

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name ubuntu-ignore-arm-doctest.patch

17 months agoubuntu-disable-ppc64el-asm-tests
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:41 +0000 (11:16 +0200)]
ubuntu-disable-ppc64el-asm-tests

Forwarded: not-needed

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name ubuntu-disable-ppc64el-asm-tests.patch

17 months agoremoved some embedded fonts
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
removed some embedded fonts

Forwarded: not-needed
===================================================================

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

17 months agoChange i686 to match Debian i386 baseline
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Change i686 to match Debian i386 baseline

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973414 , might need to be
adapted to reduce the baseline again

Forwarded: not-needed

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

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

17 months 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: Topic behaviour
Gbp-Pq: Name d-rustc-windows-ssp.patch

17 months 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

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

Forwarded: no

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rustc-add-soname.patch

17 months agoHardcode LLDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode LLDB python module directory

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

Forwarded: not-needed

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-lldb-paths.patch

17 months agoHardcode GDB python module directory
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode GDB python module directory

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

Forwarded: not-needed

Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-gdb-paths.patch

17 months agorun panics if lldb is not installed and no output is produced..
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)]
run panics if lldb is not installed and no output is produced..

Forwarded: no

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

17 months 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
Forwarded: not-needed

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

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

17 months agopartial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)]
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

Forwarded: not-needed

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

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

Forwarded: not-needed
===================================================================

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

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

Forwarded: not-needed
===================================================================

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

17 months 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.

Forwarded: not-needed

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

17 months agoset tools to those built in Debian
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
set tools to those built in Debian

Forwarded: not-needed
===================================================================

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

17 months 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

Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-disable-git.patch

17 months 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.

Forwarded: not-needed

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

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

Forwarded: not-needed

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

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

17 months 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

Forwarded: not-needed

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

17 months agoFix hurd build (#1064)
Samuel Thibault [Tue, 28 May 2024 16:20:53 +0000 (18:20 +0200)]
Fix hurd build (#1064)

Forwarded: https://github.com/bytecodealliance/rustix/pull/1064

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-rustix.patch

17 months agoadd hurd support
Samuel Thibault [Tue, 29 Aug 2023 20:03:20 +0000 (20:03 +0000)]
add hurd support

Forwarded: https://github.com/rust-lang/socket2/pull/474

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-socket2.patch

17 months agou-hurd-gix-index-2
Debian Rust Maintainers [Wed, 19 Jun 2024 05:48:44 +0000 (07:48 +0200)]
u-hurd-gix-index-2

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

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-gix-index-2.patch

17 months agou-hurd-gix-index
Various [Wed, 19 Jun 2024 05:49:55 +0000 (07:49 +0200)]
u-hurd-gix-index

commit daf3844c8f5ce6d0812e35677b1a46d568e226db
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun May 26 21:13:40 2024 +0200

    hurd: fix accessing st_[mc]time

    GNU/Hurd uses a st_[mc]tim timespec, like aix

Gbp-Pq: Topic vendor
Gbp-Pq: Name u-hurd-gix-index.patch

17 months agod-0021-vendor-remove-windows-dependencies
Fabian Grünbichler [Wed, 6 Sep 2023 19:23:24 +0000 (13:23 -0600)]
d-0021-vendor-remove-windows-dependencies

use something like

 find vendor -iname Cargo.toml -exec grep -H -n -e 'schannel' -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find dependencies on windows targets in vendored crates. you will likely
need to remove some hunks from this patch after pruning dependencies, since
hopefully a few of the crates patched during early rebasing are eliminated.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0021-vendor-remove-windows-dependencies.patch

17 months agod-0020-remove-windows-dependencies
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0020-remove-windows-dependencies

use something like

 find src compiler library -iname Cargo.toml -exec grep -H -n -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find and eliminate dependencies on windows-only crates when rebasing.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

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

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0020-remove-windows-dependencies.patch

17 months agod-0011-cargo-remove-nghttp2
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0011-cargo-remove-nghttp2

Description: remove dependency on libnghttp2-sys so it can be pruned.

Last-Update: 2023-05-17

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0011-cargo-remove-nghttp2.patch

17 months agoopener: cherry-pick fix to avoid vendored dbus
Fabian Grünbichler [Mon, 24 Jun 2024 12:37:53 +0000 (14:37 +0200)]
opener: cherry-pick fix to avoid vendored dbus

this is part of opener 0.7.1 as b6ead409a9a60f7a2705cf5f2be167719959440e

Forwarded: https://github.com/Seeker14491/opener/pull/31

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Workaround for rust-lang/cargo#10788
As described in Cargo Issue 10788, until Rust 1.71 there were
cases where the dependency/feature syntax would not work correctly
when used in combination with the dep:dependency syntax. Workarounds
include adding an explicit feature

dependency = ["dep:dependency"]

but in many (most?) cases it is enough to only enable the dependency feature
if the dependency is already enabled, via the dependency?/feature
syntax.

For context, here are some workarounds employed by others:
- mstange/samply@89456d4
- alexrudy/tonic@f386954
- jwodder/confab@6f0e2fc

Gbp-Pq: Topic prune
Gbp-Pq: Name opener-cherry-pick-fix-to-avoid-vendored-dbus.patch

17 months agod-0010-cargo-remove-vendored-c-crates
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0010-cargo-remove-vendored-c-crates

Description: remove all vendoring features of crates normally shipping bundled
C libs. that C code is stripped when repacking, so the features can't work
anyway.

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0010-cargo-remove-vendored-c-crates.patch

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

Description: remove jemalloc-sys

Forwarded: not-needed

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

17 months 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

Description: 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

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0002-mdbook-strip-embedded-libs.patch

17 months 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

Description: always enable cross compilation via pkgconf, and set the right binary name.

Forwarded: not-needed

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

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

Description: remove upstream parts that are not needed for the Debian build, in
order to both reduce the orig tarball and the vendored crates within.

Forwarded: not-needed

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

17 months agod-disable-download-tests
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-disable-download-tests

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name d-disable-download-tests.patch

17 months agod-ignore-test_arc_condvar_poison-ppc
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-ignore-test_arc_condvar_poison-ppc

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name d-ignore-test_arc_condvar_poison-ppc.patch

17 months agoThese tests hang or make the box OOM
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
These tests hang or make the box OOM

Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name u-hurd-tests.patch

17 months 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: Topic upstream
Gbp-Pq: Name u-rustc-llvm-cross-flags.patch

17 months 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: Topic upstream
Gbp-Pq: Name u-ignore-ppc-hangs.patch

17 months agoFix get_toml() when cfg(test)
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
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: Topic upstream
Gbp-Pq: Name u-fix-get-toml-when-test.patch

17 months agod-0012-cargo-always-return-dev-channel
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0012-cargo-always-return-dev-channel

Last-Update: 2023-05-30
Forwarded: not-needed

Gbp-Pq: Topic cargo
Gbp-Pq: Name d-0012-cargo-always-return-dev-channel.patch

17 months ago[PATCH] tests: add missing cross disabled checks
Fabian Grünbichler [Sat, 19 Nov 2022 09:24:08 +0000 (10:24 +0100)]
[PATCH] tests: add missing cross disabled checks

cross_conmpile::alternate states it should only be used in test cases
after checking cross_compile::disabled(), which is missing here. these
tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both
the host and the alternate cross target would be i686 in that case.

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-0003-tests-add-missing-cross-disabled-checks.patch