rustc.git
4 weeks agoMerge version 1.94.1+dfsg1-1+rpi1 and 1.95.0+dfsg1-2 to produce 1.95.0+dfsg1-2+rpi1 forky-staging archive/raspbian/1.95.0+dfsg1-2+rpi1 raspbian/1.95.0+dfsg1-2+rpi1
Raspbian automatic forward porter [Sat, 20 Jun 2026 03:55:50 +0000 (04:55 +0100)]
Merge version 1.94.1+dfsg1-1+rpi1 and 1.95.0+dfsg1-2 to produce 1.95.0+dfsg1-2+rpi1

7 weeks agoMerge rustc (1.95.0+dfsg1-2) import into refs/heads/workingbranch
Fabian Grünbichler [Thu, 28 May 2026 18:58:07 +0000 (20:58 +0200)]
Merge rustc (1.95.0+dfsg1-2) import into refs/heads/workingbranch

7 weeks agoCVE-2026-5222: avoid stripping .git suffix when for non git registries
Arlo Siemsen [Mon, 25 May 2026 07:49:43 +0000 (09:49 +0200)]
CVE-2026-5222: avoid stripping .git suffix when for non git registries

FG: adapt patches
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic cargo
Gbp-Pq: Name CVE-2026-5222-avoid-stripping-.git-suffix-when-for-non-gi.patch

7 weeks agoCVE-2026-5223: prohibit unpacking symlinks and other unexpected entries
Josh Triplett [Mon, 30 Mar 2026 17:35:55 +0000 (10:35 -0700)]
CVE-2026-5223: prohibit unpacking symlinks and other unexpected entries

Cargo has historically not allowed creating .crate packages containing
symlinks. (It packages the symlink target in place of the symlink,
instead.) So, any package containing a symlink would have to be
hand-constructed. Such packages are also not allowed on crates.io, so it
could only come from an alternate registry.

Rather than dealing with symlink traversal attacks when unpacking a
crate, just prohibit symlinks entirely.

In the process, also prohibit other kinds of unusual entries. As an
exception, allow character devices but warn about them, because some
exist in crates on crates.io.

FG: adapted paths
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic cargo
Gbp-Pq: Name CVE-2026-5223-prohibit-unpacking-symlinks-and-other-unexp.patch

7 weeks agotests: skip rust-analyzer on most targets
Fabian Grünbichler [Mon, 13 Apr 2026 12:22:57 +0000 (14:22 +0200)]
tests: skip rust-analyzer on most targets

upstream only tests (a subset of) 64-bit, but bootstrap has no filtering
for target width for now.. these two platforms probably cover where
rust-analyzer is used in practice.

Forwaded: not-needed

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name tests-skip-rust-analyzer-on-most-targets.patch

7 weeks agod-0026-font-awesome-as-a-crate: generate SVG data from packaged font
Fabian Grünbichler [Thu, 9 Apr 2026 12:33:10 +0000 (14:33 +0200)]
d-0026-font-awesome-as-a-crate: generate SVG data from packaged font

based on upstream's build.rs, which uses a bundled copy of the font that is
stripped when publishing.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0026-font-awesome-as-a-crate-generate-SVG-data-from-pac.patch

7 weeks agod-0025-remove reference to CodeView.pdf
Fabian Grünbichler [Thu, 9 Apr 2026 09:14:06 +0000 (11:14 +0200)]
d-0025-remove reference to CodeView.pdf

its license is unclear, prune and do not mention it for now.

Forwarded: github.com/rust-lang/rustc-dev-guide/issues/2828

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0025-remove-reference-to-CodeView.pdf.patch

7 weeks agoremove sqlite-wasm-rs
Fabian Grünbichler [Wed, 8 Apr 2026 11:30:07 +0000 (13:30 +0200)]
remove sqlite-wasm-rs

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0024-remove-sqlite-wasm-rs.patch

7 weeks agox32: set panic strategy to aborting
Fabian Grünbichler [Mon, 13 Oct 2025 12:35:56 +0000 (14:35 +0200)]
x32: set panic strategy to aborting

x32 lacks libunwind support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic behaviour
Gbp-Pq: Name x32-set-panic-strategy-to-aborting.patch

7 weeks agodisable bootstrap tests that don't work from tarball sources
Fabian Grünbichler [Thu, 25 Sep 2025 07:32:47 +0000 (09:32 +0200)]
disable bootstrap tests that don't work from tarball sources

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic build
Gbp-Pq: Name disable-bootstrap-tests-that-don-t-work-from-tarball-sour.patch

7 weeks agobootstrap: disarm tests that requires git context
Fabian Grünbichler [Wed, 3 Sep 2025 12:45:32 +0000 (14:45 +0200)]
bootstrap: disarm tests that requires git context

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-disarm-llvm-config-test-that-requires-git.patch

7 weeks agobootstrap: ignore x.py shell completion diff
Fabian Grünbichler [Wed, 3 Sep 2025 12:44:51 +0000 (14:44 +0200)]
bootstrap: ignore x.py shell completion diff

this test is intended for development, we can ignore it for package builds.

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-ignore-x.py-shell-completion-diff.patch

7 weeks agoppc64: downgrade baseline to Power4+
Fabian Grünbichler [Mon, 4 Aug 2025 16:00:55 +0000 (18:00 +0200)]
ppc64: downgrade baseline to Power4+

Closes: #1110059
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic behaviour
Gbp-Pq: Name ppc64-downgrade-baseline-to-Power4.patch

7 weeks agocargo: do not force liblzma-sys static linking
Fabian Grünbichler [Wed, 23 Jul 2025 19:36:46 +0000 (21:36 +0200)]
cargo: do not force liblzma-sys static linking

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic vendor
Gbp-Pq: Name cargo-do-not-force-liblzma-sys-static-linking.patch

7 weeks agobootstrap: don't attempt to download rustc in tests
Fabian Grünbichler [Sat, 11 Jan 2025 15:37:16 +0000 (16:37 +0100)]
bootstrap: don't attempt to download rustc in tests

the tests use a default config, so we need to manually override this
option..

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-don-t-attempt-to-download-rustc-in-tests.patch

7 weeks agoblake3: skip embedded C code, use pure implementation
Fabian Grünbichler [Sat, 30 Nov 2024 11:24:03 +0000 (12:24 +0100)]
blake3: skip embedded C code, use pure implementation

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic vendor
Gbp-Pq: Name blake3-skip-embedded-C-code-use-pure-implementation.patch

7 weeks agoignore broken debuginfo tests
Fabian Grünbichler [Wed, 23 Oct 2024 20:37:25 +0000 (22:37 +0200)]
ignore broken debuginfo tests

Forwarded: yes

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name ignore-broken-debuginfo-tests.patch

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks agobootstrap: always use commit info file instead of checking .git
Matthijs van Otterdijk [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
bootstrap: always use commit info file instead of checking .git

Forwarded: not-needed

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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks agod-0023-prune-wit-bindgen-blobs
Fabian Grünbichler [Mon, 9 Mar 2026 11:08:31 +0000 (12:08 +0100)]
d-0023-prune-wit-bindgen-blobs

pinned upstream to guard against the pre-built blobs changing, but we strip and
rebuild them anyway..

Gbp-Dch: Topic prune
Forwarded: no

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0023-prune-wit-bindgen-blobs.patch

7 weeks agoprune ring dependencies
Fabian Grünbichler [Wed, 21 Jan 2026 10:34:28 +0000 (11:34 +0100)]
prune ring dependencies

it contains a lot of pregenerated assembly files

Forwarded: not-needed

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

7 weeks 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' -e 'winsplit' {} \;

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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks agod-0007-no-tzdb
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0007-no-tzdb

Description: remove jiff-tzdb(-platform)

on Debian, we can just use the tzdata information..

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0007-no-tzdb.patch

7 weeks agod-0006-no-mimalloc
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0006-no-mimalloc

Description: remove mimalloc(-sys)

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0006-no-mimalloc.patch

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks agocompiletest: add ignore-hurd support and annotate some tests
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
compiletest: add ignore-hurd support and annotate some tests

These tests hang or make the box OOM

Forwarded: no

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic upstream
Gbp-Pq: Name u-hurd-tests.patch

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks agorustc (1.95.0+dfsg1-2) unstable; urgency=medium
Fabian Grünbichler [Thu, 28 May 2026 18:58:07 +0000 (20:58 +0200)]
rustc (1.95.0+dfsg1-2) unstable; urgency=medium

  * d/control: drop libonig-dev
  * cherry-pick fixes for CVE-2026-5222 and CVE-2026-5223
  * upload to unstable

[dgit import unpatched rustc 1.95.0+dfsg1-2]

7 weeks agoImport rustc_1.95.0+dfsg1-2.debian.tar.xz
Fabian Grünbichler [Thu, 28 May 2026 18:58:07 +0000 (20:58 +0200)]
Import rustc_1.95.0+dfsg1-2.debian.tar.xz

[dgit import tarball rustc 1.95.0+dfsg1-2 rustc_1.95.0+dfsg1-2.debian.tar.xz]

2 months agoImport rustc_1.95.0+dfsg1.orig.tar.xz
Fabian Grünbichler [Thu, 14 May 2026 17:13:56 +0000 (19:13 +0200)]
Import rustc_1.95.0+dfsg1.orig.tar.xz

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

2 months agoskip dh_dwz archive/raspbian/1.94.1+dfsg1-1+rpi1 raspbian/1.94.1+dfsg1-1+rpi1
Peter Michael Green [Thu, 30 Apr 2026 16:07:32 +0000 (16:07 +0000)]
skip dh_dwz

2 months agoMerge version 1.93.1+dfsg1-2+rpi1 and 1.94.1+dfsg1-1 to produce 1.94.1+dfsg1-1+rpi1
Raspbian automatic forward porter [Thu, 30 Apr 2026 06:03:42 +0000 (07:03 +0100)]
Merge version 1.93.1+dfsg1-2+rpi1 and 1.94.1+dfsg1-1 to produce 1.94.1+dfsg1-1+rpi1

3 months agoManual merge of version 1.92.0+dfsg1-2+rpi1 and 1.93.1+dfsg1-2 to produce 1.93.1... archive/raspbian/1.93.1+dfsg1-2+rpi1 raspbian/1.93.1+dfsg1-2+rpi1
Peter Michael Green [Mon, 20 Apr 2026 02:21:11 +0000 (02:21 +0000)]
Manual merge of version 1.92.0+dfsg1-2+rpi1 and 1.93.1+dfsg1-2 to produce 1.93.1+dfsg1-2+rpi1

3 months agoMerge rustc (1.94.1+dfsg1-1) import into refs/heads/workingbranch
Fabian Grünbichler [Thu, 16 Apr 2026 08:00:20 +0000 (10:00 +0200)]
Merge rustc (1.94.1+dfsg1-1) import into refs/heads/workingbranch

3 months agotests: skip rust-analyzer on most targets
Fabian Grünbichler [Mon, 13 Apr 2026 12:22:57 +0000 (14:22 +0200)]
tests: skip rust-analyzer on most targets

upstream only tests (a subset of) 64-bit, but bootstrap has no filtering
for target width for now.. these two platforms probably cover where
rust-analyzer is used in practice.

Forwaded: not-needed

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name tests-skip-rust-analyzer-on-most-targets.patch

3 months agod-0026-font-awesome-as-a-crate: generate SVG data from packaged font
Fabian Grünbichler [Thu, 9 Apr 2026 12:33:10 +0000 (14:33 +0200)]
d-0026-font-awesome-as-a-crate: generate SVG data from packaged font

based on upstream's build.rs, which uses a bundled copy of the font that is
stripped when publishing.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0026-font-awesome-as-a-crate-generate-SVG-data-from-pac.patch

3 months agod-0025-remove reference to CodeView.pdf
Fabian Grünbichler [Thu, 9 Apr 2026 09:14:06 +0000 (11:14 +0200)]
d-0025-remove reference to CodeView.pdf

its license is unclear, prune and do not mention it for now.

Forwarded: github.com/rust-lang/rustc-dev-guide/issues/2828

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0025-remove-reference-to-CodeView.pdf.patch

3 months agoremove sqlite-wasm-rs
Fabian Grünbichler [Wed, 8 Apr 2026 11:30:07 +0000 (13:30 +0200)]
remove sqlite-wasm-rs

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0024-remove-sqlite-wasm-rs.patch

3 months agox32: set panic strategy to aborting
Fabian Grünbichler [Mon, 13 Oct 2025 12:35:56 +0000 (14:35 +0200)]
x32: set panic strategy to aborting

x32 lacks libunwind support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic behaviour
Gbp-Pq: Name x32-set-panic-strategy-to-aborting.patch

3 months agodisable bootstrap tests that don't work from tarball sources
Fabian Grünbichler [Thu, 25 Sep 2025 07:32:47 +0000 (09:32 +0200)]
disable bootstrap tests that don't work from tarball sources

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic build
Gbp-Pq: Name disable-bootstrap-tests-that-don-t-work-from-tarball-sour.patch

3 months agobootstrap: disarm tests that requires git context
Fabian Grünbichler [Wed, 3 Sep 2025 12:45:32 +0000 (14:45 +0200)]
bootstrap: disarm tests that requires git context

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-disarm-llvm-config-test-that-requires-git.patch

3 months agobootstrap: ignore x.py shell completion diff
Fabian Grünbichler [Wed, 3 Sep 2025 12:44:51 +0000 (14:44 +0200)]
bootstrap: ignore x.py shell completion diff

this test is intended for development, we can ignore it for package builds.

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-ignore-x.py-shell-completion-diff.patch

3 months agoppc64: downgrade baseline to Power4+
Fabian Grünbichler [Mon, 4 Aug 2025 16:00:55 +0000 (18:00 +0200)]
ppc64: downgrade baseline to Power4+

Closes: #1110059
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic behaviour
Gbp-Pq: Name ppc64-downgrade-baseline-to-Power4.patch

3 months agocargo: do not force liblzma-sys static linking
Fabian Grünbichler [Wed, 23 Jul 2025 19:36:46 +0000 (21:36 +0200)]
cargo: do not force liblzma-sys static linking

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic vendor
Gbp-Pq: Name cargo-do-not-force-liblzma-sys-static-linking.patch

3 months agobootstrap: don't attempt to download rustc in tests
Fabian Grünbichler [Sat, 11 Jan 2025 15:37:16 +0000 (16:37 +0100)]
bootstrap: don't attempt to download rustc in tests

the tests use a default config, so we need to manually override this
option..

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-don-t-attempt-to-download-rustc-in-tests.patch

3 months agoblake3: skip embedded C code, use pure implementation
Fabian Grünbichler [Sat, 30 Nov 2024 11:24:03 +0000 (12:24 +0100)]
blake3: skip embedded C code, use pure implementation

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic vendor
Gbp-Pq: Name blake3-skip-embedded-C-code-use-pure-implementation.patch

3 months agoignore broken debuginfo tests
Fabian Grünbichler [Wed, 23 Oct 2024 20:37:25 +0000 (22:37 +0200)]
ignore broken debuginfo tests

Forwarded: yes

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name ignore-broken-debuginfo-tests.patch

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 months agobootstrap: always use commit info file instead of checking .git
Matthijs van Otterdijk [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
bootstrap: always use commit info file instead of checking .git

Forwarded: not-needed

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

3 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

3 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

3 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

3 months agod-0023-prune-wit-bindgen-blobs
Fabian Grünbichler [Mon, 9 Mar 2026 11:08:31 +0000 (12:08 +0100)]
d-0023-prune-wit-bindgen-blobs

pinned upstream to guard against the pre-built blobs changing, but we strip and
rebuild them anyway..

Gbp-Dch: Topic prune
Forwarded: no

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0023-prune-wit-bindgen-blobs.patch

3 months agoprune ring dependencies
Fabian Grünbichler [Wed, 21 Jan 2026 10:34:28 +0000 (11:34 +0100)]
prune ring dependencies

it contains a lot of pregenerated assembly files

Forwarded: not-needed

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

3 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' -e 'winsplit' {} \;

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

3 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

3 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

3 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

3 months agod-0007-no-tzdb
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0007-no-tzdb

Description: remove jiff-tzdb(-platform)

on Debian, we can just use the tzdata information..

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0007-no-tzdb.patch

3 months agod-0006-no-mimalloc
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0006-no-mimalloc

Description: remove mimalloc(-sys)

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0006-no-mimalloc.patch

3 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