Debian Patches
Status for rustc/1.94.1+dfsg1-1~bpo13+3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| cargo/c-2002_disable-net-tests.patch | Disable network tests | Ximin Luo <infinity0@debian.org> | invalid | 2024-06-13 | ||
| cargo/c-2003-workaround-qemu-vfork-command-not-found.patch | c-2003-workaround-qemu-vfork-command-not-found =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | no | 2024-06-13 | ||
| cargo/c-2200-workaround-x32-test.patch | c-2200-workaround-x32-test | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | yes | upstream | 2024-06-13 | |
| cargo/c-disable-fs-specific-test.patch | c-disable-fs-specific-test =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | no | 2024-06-13 | ||
| cargo/c-0003-tests-add-missing-cross-disabled-checks.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. |
Fabian Grünbichler <debian@fabian.gruenbichler.email> | no | 2022-11-19 | ||
| cargo/d-0012-cargo-always-return-dev-channel.patch | d-0012-cargo-always-return-dev-channel | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2023-05-30 | ||
| upstream/u-ignore-ppc-hangs.patch | u-ignore-ppc-hangs | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | yes | upstream | 2022-07-14 | |
| upstream/u-rustc-llvm-cross-flags.patch | u-rustc-llvm-cross-flags =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | no | 2022-07-14 | ||
| upstream/u-hurd-tests.patch | compiletest: add ignore-hurd support and annotate some tests These tests hang or make the box OOM |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | no | 2024-06-13 | ||
| upstream/d-ignore-test_arc_condvar_poison-ppc.patch | d-ignore-test_arc_condvar_poison-ppc | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | no | 2024-06-13 | ||
| prune/d-0000-ignore-removed-submodules.patch | remove upstream parts that are not needed for the Debian build, inorder to both reduce the orig tarball and the vendored crates within. | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2021-10-02 | ||
| prune/d-0001-pkg-config-no-special-snowflake.patch | always enable cross compilation via pkgconf, and set the right binary name. | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2021-10-02 | ||
| prune/d-0002-mdbook-strip-embedded-libs.patch | Use https://github.com/infinity0/mdBook/tree/debian to help you rebasethe patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2021-10-02 | ||
| prune/d-0005-no-jemalloc.patch | remove jemalloc-sys | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2021-10-02 | ||
| prune/d-0006-no-mimalloc.patch | remove mimalloc(-sys) | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2025-01-11 | ||
| prune/d-0007-no-tzdb.patch | remove jiff-tzdb(-platform) on Debian, we can just use the tzdata information.. |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2025-01-11 | ||
| prune/d-0010-cargo-remove-vendored-c-crates.patch | remove all vendoring features of crates normally shipping bundledC libs. that C code is stripped when repacking, so the features can't work anyway. |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2024-05-06 | ||
| prune/d-0011-cargo-remove-nghttp2.patch | remove dependency on libnghttp2-sys so it can be pruned. | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2023-05-17 | ||
| prune/d-0020-remove-windows-dependencies.patch | 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. =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2024-05-06 | ||
| prune/d-0021-vendor-remove-windows-dependencies.patch | 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. |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | not-needed | 2023-09-06 | ||
| prune/d-0022-prune-ring-dependencies.patch | prune ring dependencies it contains a lot of pregenerated assembly files |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | not-needed | 2026-01-21 | ||
| prune/d-0023-prune-wit-bindgen-blobs.patch | d-0023-prune-wit-bindgen-blobs pinned upstream to guard against the pre-built blobs changing, but we strip and rebuild them anyway.. |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | no | 2026-03-09 | ||
| vendor/d-0003-cc-psm-rebuild-wasm32.patch | d-0003-cc-psm-rebuild-wasm32 | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2021-10-02 | ||
| build/d-bootstrap-rustflags.patch | d-bootstrap-rustflags =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-install-symlinks.patch | 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. |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-disable-git.patch | bootstrap: always use commit info file instead of checking .git | Matthijs van Otterdijk <matthijs@wirevirt.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-cargo-doc-paths.patch | Fix links to cargo-doc We package cargo docs in a slightly different location; also tweak linkchecker to not fail these links. |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-use-local-css.patch | d-bootstrap-use-local-css =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-custom-debuginfo-path.patch | d-bootstrap-custom-debuginfo-path =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| build/d-bootstrap-permit-symlink-in-docs.patch | partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2024-06-13 | ||
| build/d-test-ignore-avx-44056.patch | d-test-ignore-avx-44056 =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | upstream | 2022-07-14 | |
| behaviour/d-rust-gdb-paths.patch | Hardcode GDB python module directory Debian package installs python modules into a fixed directory, so just hardcode path in wrapper script. |
Angus Lees <gus@debian.org> | not-needed | 2022-07-14 | ||
| behaviour/d-rust-lldb-paths.patch | Hardcode LLDB python module directory Debian package installs python modules into a fixed directory, so just hardcode path in wrapper script. |
Angus Lees <gus@debian.org> | not-needed | 2022-07-14 | ||
| behaviour/d-rustc-add-soname.patch | 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). |
Angus Lees <gus@debian.org> | no | 2022-07-14 | ||
| behaviour/d-rustc-windows-ssp.patch | d-rustc-windows-ssp | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | yes | upstream | 2022-07-14 | |
| behaviour/d-rustdoc-disable-embedded-fonts.patch | removed some embedded fonts =================================================================== |
Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2022-07-14 | ||
| ubuntu/ubuntu-disable-ppc64el-asm-tests.patch | ubuntu-disable-ppc64el-asm-tests | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | not-needed | 2024-06-13 | ||
| ubuntu/ubuntu-ignore-arm-doctest.patch | Disable the doctests for the instruction_set errors The fix is as described in the upstream issue. |
Simon Chopin <simon.chopin@canonical.com> | yes | upstream | 2022-02-23 | |
| build/ignore-broken-debuginfo-tests.patch | ignore broken debuginfo tests | Fabian Grünbichler <git@fabian.gruenbichler.email> | invalid | 2024-10-23 | ||
| vendor/blake3-skip-embedded-C-code-use-pure-implementation.patch | blake3: skip embedded C code, use pure implementation | Fabian Grünbichler <git@fabian.gruenbichler.email> | not-needed | 2024-11-30 | ||
| build/bootstrap-don-t-attempt-to-download-rustc-in-tests.patch | bootstrap: don't attempt to download rustc in tests the tests use a default config, so we need to manually override this option.. |
Fabian Grünbichler <debian@fabian.gruenbichler.email> | no | 2025-01-11 | ||
| vendor/cargo-do-not-force-liblzma-sys-static-linking.patch | cargo: do not force liblzma-sys static linking | Fabian Grünbichler <git@fabian.gruenbichler.email> | not-needed | 2025-07-23 | ||
| behaviour/ppc64-downgrade-baseline-to-Power4.patch | ppc64: downgrade baseline to Power4+ | Fabian Grünbichler <git@fabian.gruenbichler.email> | no | 2025-08-04 | ||
| build/bootstrap-ignore-x.py-shell-completion-diff.patch | bootstrap: ignore x.py shell completion diff this test is intended for development, we can ignore it for package builds. |
Fabian Grünbichler <git@fabian.gruenbichler.email> | no | 2025-09-03 | ||
| build/bootstrap-disarm-llvm-config-test-that-requires-git.patch | bootstrap: disarm tests that requires git context | Fabian Grünbichler <git@fabian.gruenbichler.email> | no | 2025-09-03 | ||
| build/disable-bootstrap-tests-that-don-t-work-from-tarball-sour.patch | disable bootstrap tests that don't work from tarball sources | Fabian Grünbichler <f.gruenbichler@proxmox.com> | not-needed | 2025-09-25 | ||
| behaviour/x32-set-panic-strategy-to-aborting.patch | x32: set panic strategy to aborting x32 lacks libunwind support |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | no | 2025-10-13 | ||
| prune/d-0024-remove-sqlite-wasm-rs.patch | remove sqlite-wasm-rs | Fabian Grünbichler <f.gruenbichler@proxmox.com> | no | 2026-04-08 | ||
| prune/d-0025-remove-reference-to-CodeView.pdf.patch | d-0025-remove reference to CodeView.pdf its license is unclear, prune and do not mention it for now. |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | invalid | 2026-04-09 | ||
| prune/d-0026-font-awesome-as-a-crate-generate-SVG-data-from-pac.patch | 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. |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | no | 2026-04-09 | ||
| build/tests-skip-rust-analyzer-on-most-targets.patch | 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. |
Fabian Grünbichler <debian@fabian.gruenbichler.email> | no | 2026-04-13 | ||
| vendor/libgit2-sys-relax-libgit2-dependency.patch | libgit2-sys: relax libgit2 dependency the changes are not required for cargo. |
Fabian Grünbichler <f.gruenbichler@proxmox.com> | no | 2026-04-10 | ||
| cargo/CVE-2026-5223-prohibit-unpacking-symlinks-and-other-unexp.patch | 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. |
Josh Triplett <josh@joshtriplett.org> | no | 2026-03-30 | ||
| cargo/CVE-2026-5222-avoid-stripping-.git-suffix-when-for-non-gi.patch | CVE-2026-5222: avoid stripping .git suffix when for non git registries | Arlo Siemsen <arkixml@gmail.com> | no | 2026-05-25 |
All known versions for source package 'rustc'
- 1.95.0+dfsg1-2 (sid)
- 1.95.0+dfsg1-1 (experimental)
- 1.94.1+dfsg1-1 (forky)
- 1.94.1+dfsg1-1~bpo13+3 (trixie-backports)
- 1.85.0+dfsg3-1 (trixie, trixie-security)
- 1.63.0+dfsg1-2 (bookworm)
