Package: rustc-web / 1.78.0+dfsg1-2~deb12u3
Metadata
Package | Version | Patches format |
---|---|---|
rustc-web | 1.78.0+dfsg1-2~deb12u3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
cargo/c 2002_disable net tests.patch | (download) |
src/tools/cargo/tests/testsuite/credential_process.rs |
14 7 + 7 - 0 ! |
disable network tests |
cargo/c 2003 workaround qemu vfork command not found.patch | (download) |
src/tools/cargo/crates/cargo-test-macro/src/lib.rs |
8 8 + 0 - 0 ! |
c-2003-workaround-qemu-vfork-command-not-found =================================================================== |
cargo/c 2200 workaround x32 test.patch | (download) |
src/tools/cargo/tests/testsuite/cfg.rs |
2 1 + 1 - 0 ! |
c-2200-workaround-x32-test Bug: https://github.com/rust-lang/cargo/issues/10005 |
cargo/c disable fs specific test.patch | (download) |
src/tools/cargo/tests/testsuite/metadata.rs |
2 1 + 1 - 0 ! |
c-disable-fs-specific-test =================================================================== |
cargo/c 0003 tests add missing cross disabled checks.patch | (download) |
src/tools/cargo/tests/testsuite/build_script.rs |
6 6 + 0 - 0 ! |
[patch] tests: add missing cross disabled checks MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 Grnbichler <debian@fabian.gruenbichler.email> |
cargo/d 0012 cargo always return dev channel.patch | (download) |
src/tools/cargo/src/cargo/core/features.rs |
5 2 + 3 - 0 ! |
d-0012-cargo-always-return-dev-channel |
upstream/u fix get toml when test.patch | (download) |
src/bootstrap/src/core/config/config.rs |
28 26 + 2 - 0 ! |
fix get_toml() when cfg(test) Bug: https://github.com/rust-lang/rust/issues/105766 |
upstream/u avoid blessing cargo deps s source code in ui tests.patch | (download) |
src/tools/compiletest/src/runtest.rs |
5 5 + 0 - 0 ! |
[patch] fix ui tests with dist-vendored dependencies There is already a workaround in `compiletest` to deal with custom `CARGO_HOME` using `-Zignore-directory-in-diagnostics-source-blocks={}`. A similar need exists when dependencies come from the local `vendor` directory, which distro builds often use, so now we ignore that too. Also, `issue-21763.rs` was normalizing `hashbrown-` paths, presumably expecting a version suffix, but the vendored path doesn't include the version. Now that matches `[\\/]hashbrown` instead. |
upstream/u ignore ppc hangs.patch | (download) |
library/alloc/tests/arc.rs |
1 1 + 0 - 0 ! |
u-ignore-ppc-hangs Bug: https://github.com/rust-lang/rust/issues/89607 |
upstream/u rustc llvm cross flags.patch | (download) |
compiler/rustc_llvm/build.rs |
2 1 + 1 - 0 ! |
u-rustc-llvm-cross-flags =================================================================== |
upstream/u hurd tests.patch | (download) |
tests/run-make/long-linker-command-lines/foo.rs |
7 7 + 0 - 0 ! |
these tests hang or make the box oom |
upstream/d ignore test_arc_condvar_poison ppc.patch | (download) |
library/std/src/sync/mutex/tests.rs |
1 1 + 0 - 0 ! |
d-ignore-test_arc_condvar_poison-ppc |
upstream/d disable download tests.patch | (download) |
src/bootstrap/src/core/config/tests.rs |
6 6 + 0 - 0 ! |
d-disable-download-tests |
upstream/u set the host library path in run make v2.patch | (download) |
src/tools/compiletest/src/runtest.rs |
6 6 + 0 - 0 ! |
[patch] set the host library path in run-make v2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit When the build is configured with `[rust] rpath = false`, we need to set `LD_LIBRARY_PATH` (or equivalent) to what would have been the `RPATH`, so the compiler can find its own libraries. The old `tools.mk` code has this environment prefixed in the `$(BARE_RUSTC)` variable, so we just need to wire up something similar for run-make v2. This is now set while building each `rmake.rs` itself, as well as in the `rust-make-support` helpers for `rustc` and `rustdoc` commands. This is also available in a `set_host_rpath` function for manual commands, like in the `compiler-builtins` test. FG: Partial backport for 1.78 Signed-off-by: Fabian Grnbichler <debian@fabian.gruenbichler.email> |
prune/d 0000 ignore removed submodules.patch | (download) |
Cargo.toml |
7 0 + 7 - 0 ! |
remove upstream parts that are not needed for the debian build, in order to both reduce the orig tarball and the vendored crates within. |
prune/d 0001 pkg config no special snowflake.patch | (download) |
vendor/pkg-config/src/lib.rs |
26 11 + 15 - 0 ! |
always enable cross compilation via pkgconf, and set the right binary name. |
prune/d 0002 mdbook strip embedded libs.patch | (download) |
src/doc/rust-by-example/theme/index.hbs |
86 4 + 82 - 0 ! |
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 |
prune/d 0005 no jemalloc.patch | (download) |
compiler/rustc/Cargo.toml |
6 0 + 6 - 0 ! |
remove jemalloc-sys |
prune/d 0010 cargo remove vendored c crates.patch | (download) |
src/tools/cargo/Cargo.toml |
6 2 + 4 - 0 ! |
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. |
prune/d 0011 cargo remove nghttp2.patch | (download) |
vendor/curl-sys/Cargo.toml |
2 1 + 1 - 0 ! |
remove dependency on libnghttp2-sys so it can be pruned. |
prune/d 0020 remove windows dependencies.patch | (download) |
compiler/rustc_codegen_ssa/Cargo.toml |
4 0 + 4 - 0 ! |
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. |
prune/d 0021 vendor remove windows dependencies.patch | (download) |
vendor/android-tzdata/Cargo.toml |
1 1 + 0 - 0 ! |
d-0021-vendor-remove-windows-dependencies MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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. |
vendor/u hurd backtrace.patch | (download) |
vendor/backtrace/src/symbolize/gimli.rs |
2 2 + 0 - 0 ! |
add gnu/hurd support (rust-lang/backtrace-rs#567) |
vendor/u hurd gix index.patch | (download) |
vendor/gix-index/src/fs.rs |
16 8 + 8 - 0 ! |
u-hurd-gix-index commit daf3844c8f5ce6d0812e35677b1a46d568e226db |
vendor/u hurd gix index 2.patch | (download) |
vendor/gix-index/src/fs.rs |
6 5 + 1 - 0 ! |
u-hurd-gix-index-2 =================================================================== |
vendor/u hurd socket2.patch | (download) |
vendor/socket2/src/sockaddr.rs |
2 2 + 0 - 0 ! |
add hurd support |
vendor/u hurd rustix.patch | (download) |
vendor/rustix/src/fs/mod.rs |
26 24 + 2 - 0 ! |
fix hurd build (#1064) |
vendor/d 0003 cc psm rebuild wasm32.patch | (download) |
vendor/cc/src/lib.rs |
2 1 + 1 - 0 ! |
d-0003-cc-psm-rebuild-wasm32 |
vendor/use vendored libgit.patch | (download) |
vendor/libgit2-sys/build.rs |
13 8 + 5 - 0 ! |
--- |
build/d bootstrap rustflags.patch | (download) |
src/bootstrap/src/core/builder.rs |
12 12 + 0 - 0 ! |
d-bootstrap-rustflags |
build/d bootstrap install symlinks.patch | (download) |
src/tools/rust-installer/install-template.sh |
7 5 + 2 - 0 ! |
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. |
build/d bootstrap disable git.patch | (download) |
src/bootstrap/src/core/build_steps/dist.rs |
6 4 + 2 - 0 ! |
don't check for cargo-vendor when building from (debian's) git |
build/d bootstrap no assume tools.patch | (download) |
src/bootstrap/src/core/builder/tests.rs |
4 4 + 0 - 0 ! |
set tools to those built in debian |
build/d bootstrap cargo doc paths.patch | (download) |
compiler/rustc_error_codes/src/error_codes/E0460.md |
2 1 + 1 - 0 ! |
fix links to cargo-doc |
build/d bootstrap use local css.patch | (download) |
src/bootstrap/src/core/build_steps/doc.rs |
27 21 + 6 - 0 ! |
d-bootstrap-use-local-css |
build/d bootstrap custom debuginfo path.patch | (download) |
src/bootstrap/src/lib.rs |
5 2 + 3 - 0 ! |
d-bootstrap-custom-debuginfo-path |
build/d bootstrap permit symlink in docs.patch | (download) |
src/bootstrap/src/core/build_steps/dist.rs |
1 1 + 0 - 0 ! |
partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream |
build/d test ignore avx 44056.patch | (download) |
tests/ui/issues/issue-44056.rs |
2 1 + 1 - 0 ! |
d-test-ignore-avx-44056 Bug: https://github.com/rust-lang/rust/pull/55667 |
build/d armel fix lldb.patch | (download) |
src/bootstrap/src/core/build_steps/test.rs |
6 5 + 1 - 0 ! |
run panics if lldb is not installed and no output is produced.. |
behaviour/d rust gdb paths.patch | (download) |
src/etc/rust-gdbgui |
2 1 + 1 - 0 ! |
hardcode gdb python module directory Debian package installs python modules into a fixed directory, so just hardcode path in wrapper script. |
behaviour/d rust lldb paths.patch | (download) |
src/etc/rust-lldb |
4 2 + 2 - 0 ! |
hardcode lldb python module directory Debian package installs python modules into a fixed directory, so just hardcode path in wrapper script. |
behaviour/d rustc add soname.patch | (download) |
compiler/rustc_codegen_ssa/src/back/link.rs |
7 7 + 0 - 0 ! |
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). |
behaviour/d rustc windows ssp.patch | (download) |
compiler/rustc_target/src/spec/base/windows_gnu.rs |
2 2 + 0 - 0 ! |
d-rustc-windows-ssp Bug: https://github.com/rust-lang/rust/issues/68973 |
behaviour/d rustc i686 baseline.patch | (download) |
compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs |
2 1 + 1 - 0 ! |
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 |
behaviour/d rustdoc disable embedded fonts.patch | (download) |
src/librustdoc/html/static/css/rustdoc.css |
8 0 + 8 - 0 ! |
removed some embedded fonts |
ubuntu/ubuntu disable ppc64el asm tests.patch | (download) |
compiler/rustc_lint/src/builtin.rs |
5 4 + 1 - 0 ! |
ubuntu-disable-ppc64el-asm-tests |
ubuntu/ubuntu ignore arm doctest.patch | (download) |
compiler/rustc_error_codes/src/error_codes/E0778.md |
4 2 + 2 - 0 ! |
disable the doctests for the instruction_set errors Bug: https://github.com/rust-lang/rust/issues/83453 |
upstream/Revert loongarch add frecipe and relax target feature.patch | (download) |
compiler/rustc_target/src/target_features.rs |
2 0 + 2 - 0 ! |
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 |