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

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

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

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

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

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

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

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

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

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

2 years agoSet DT_SONAME when building dylibs
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Set DT_SONAME when building dylibs

Forwarded: no

In Rust, library filenames include a version-specific hash to help
the run-time linker find the correct version.  Unlike in C/C++, the
compiler looks for all libraries matching a glob that ignores the
hash and reads embedded metadata to work out versions, etc.

The upshot is that there is no need for the usual "libfoo.so ->
libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
and no need to communicate an alternate filename to use at run-time
vs compile time.  If linking to a Rust dylib from C/C++ however, a
"libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
this case DT_SONAME=libfoo-$hash.so would be required.  More
mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
find DT_SONAME on shared libraries in public directories.

This patch passes -Wl,-soname=$outfile when building dylibs (and
using a GNU linker).

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

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

Forwarded: not-needed

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

Gbp-Pq: Name d-rust-lldb-paths

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

Forwarded: not-needed

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

Gbp-Pq: Name d-rust-gdb-paths

2 years agod-armel-fix-lldb
Debian Rust Maintainers [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
d-armel-fix-lldb

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

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

2 years agod-bootstrap-cargo-check-cfg
Debian Rust Maintainers [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
d-bootstrap-cargo-check-cfg

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

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

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

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

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

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

2 years agod-bootstrap-permit-symlink-in-docs
Debian Rust Maintainers [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
d-bootstrap-permit-symlink-in-docs

partial revert of b9eedea4b0368fd1f00f204db75109ff444fab5b upstream

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

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

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

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

2 years agoBackwards-compat for cargo 0.47
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Backwards-compat for cargo 0.47

  The flag being removed here was added in
  https://github.com/rust-lang/cargo/pull/9404 released in cargo 0.54

  This works around a feature introduced in this PR
  https://github.com/rust-lang/cargo/pull/8640 released in cargo 0.53

  Therefore it is not needed for Debian's current cargo 0.47.

  We can drop this patch when updating to cargo 0.54 and later.

Gbp-Pq: Name d-bootstrap-old-cargo-compat.patch

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

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

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

2 years agoFix links to cargo-doc
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Fix links to cargo-doc

We package cargo docs in a slightly different location; also tweak linkchecker
to not fail these links.

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

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

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

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

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

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

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

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

Forwarded: not-needed

Forwarded: not-needed

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

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

Our patch to mdbook installs symlinks to systems versions of font-awesome,
highlight, etc. Upstream mdbook otherwise doesn't use symlinks, so this
doesn't affect anything else that's already generated.

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

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

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

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

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

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

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

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

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

2 years agod-0004-clippy-feature-sync
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0004-clippy-feature-sync

enable features needed by rustfmt to make build system happy and speedup build.
this is what rustc_workspace_hack does in the upstream build.

Gbp-Pq: Name d-0004-clippy-feature-sync.patch

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

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

2 years agod-0002-mdbook-strip-embedded-libs
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0002-mdbook-strip-embedded-libs

Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links

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

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

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

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

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

2 years agod-fix-rustix-outline
Debian Rust Maintainers [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
d-fix-rustix-outline

Always enable cc even if the feature is not enabled.

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

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

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

Forwarded: TODO

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

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

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

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

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

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

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

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

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

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

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

2 years agou-fix-rustix-for-sparc64
Debian Rust Maintainers [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
u-fix-rustix-for-sparc64

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

2 years ago[PATCH] Update macros.rs
Lokathor [Tue, 27 Sep 2022 19:22:45 +0000 (13:22 -0600)]
[PATCH] Update macros.rs

Gbp-Pq: Name u-arm-compiler-builtins-weak-linkage-arm.patch

2 years ago[PATCH] Set 'exec-env:RUST_BACKTRACE=0' in const-eval-select tests
Aaron Hill [Wed, 21 Sep 2022 15:24:16 +0000 (10:24 -0500)]
[PATCH] Set 'exec-env:RUST_BACKTRACE=0' in const-eval-select tests

This allows the tests to pass even if the user has RUST_BACKTRACE
set when running 'x.py'

Gbp-Pq: Name u-fix-backtrace-tests.patch

2 years ago[PATCH] compiletest: set the dylib path when gathering target cfg
Josh Stone [Fri, 14 Oct 2022 23:11:28 +0000 (16:11 -0700)]
[PATCH] compiletest: set the dylib path when gathering target cfg

If the compiler is built with `rpath = false`, then it won't find its
own libraries unless the library search path is set. We already do that
while running the actual compiletests, but #100260 added another rustc
command for getting the target cfg.

    Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    thread 'main' panicked at 'error: failed to get cfg info from "[...]/build/x86_64-unknown-linux-gnu/stage1/bin/rustc"
    --- stdout

    --- stderr
    [...]/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-a2a76dc626cd02d2.so: cannot open shared object file: No such file or directory
    ', src/tools/compiletest/src/common.rs:476:13

Now the library path is set here as well, so it works without rpath.

FG: Context adapted

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Name u-make-compiletest-work-without-rpath.patch

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

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

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

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

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

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

Gbp-Pq: Name u-reproducible-build.patch

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

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

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

2 years agorustc (1.65.0+dfsg1-2) unstable; urgency=medium
Jeremy Bícha [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
rustc (1.65.0+dfsg1-2) unstable; urgency=medium

  * Team upload
  * Source-only upload

[dgit import unpatched rustc 1.65.0+dfsg1-2]

2 years agoImport rustc_1.65.0+dfsg1-2.debian.tar.xz
Jeremy Bícha [Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)]
Import rustc_1.65.0+dfsg1-2.debian.tar.xz

[dgit import tarball rustc 1.65.0+dfsg1-2 rustc_1.65.0+dfsg1-2.debian.tar.xz]

2 years agoImport rustc_1.65.0+dfsg1.orig.tar.xz
Fabian Gruenbichler [Wed, 15 Feb 2023 19:12:05 +0000 (19:12 +0000)]
Import rustc_1.65.0+dfsg1.orig.tar.xz

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