rustc.git
5 years agod-use-local-css
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-use-local-css

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

5 years agod-no-jemalloc
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-no-jemalloc

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

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

5 years agod-i686-baseline
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-i686-baseline

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

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

5 years agod-ignore-avx-44056
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-ignore-avx-44056

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

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

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

5 years agod-read-beta-version-from-file
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-read-beta-version-from-file

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

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

5 years agoDon't download SHA256 if it's already available locally
Ximin Luo [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Don't download SHA256 if it's already available locally

Forwarded: not-needed

In Debian we provide the stage0 tarballs as a separate component so that the
buildds don't need to access the network during the build.
Forwarded: not-needed
Gbp-Pq: Name d-dont-download-stage0.patch

5 years agoSet DT_SONAME when building dylibs
Angus Lees [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
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-add-soname.patch

5 years agoHardcode LLDB python module directory
Angus Lees [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
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

5 years agoHardcode GDB python module directory
Angus Lees [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
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

5 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-disable-cargo-vendor.patch

5 years agoIgnore error details with $SRC_DIR
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Ignore error details with $SRC_DIR

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

We build with --remap-path-prefix so it doesn't work, see bug below
some other small things (indentation, extra output) are also different between stock and Debian rustc

Gbp-Pq: Name d-ignore-error-detail-diff.patch

5 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Use local web resources instead of remote ones

Bug: https://github.com/azerupi/mdBook/issues/271
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

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-0003-mdbook-strip-embedded-libs.patch

5 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-0002-pkg-config-no-special-snowflake

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

5 years agod-0001-disable-miniz
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
d-0001-disable-miniz

Gbp-Pq: Name d-0001-disable-miniz.patch

5 years agoIgnore submodules that we're not building, or that are unused like
Ximin Luo [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Ignore submodules that we're not building, or that are unused like

Forwarded: not-needed

mdbook-linkcheck that pull in a ton of dependencies that are unneeded.

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

5 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
u-reproducible-dl-stage0

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

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

5 years agou-rustc-llvm-cross-flags
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
u-rustc-llvm-cross-flags

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

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

5 years ago[PATCH] Update bindings for the wasm32-wasi target
Alex Crichton [Mon, 16 Dec 2019 15:57:52 +0000 (07:57 -0800)]
[PATCH] Update bindings for the wasm32-wasi target

This commit performs a number of updates for libc with the `wasm32-wasi`
target:

* Updates the `wasi-libc` repository commit used (previously known as
  `wasi-sysroot`)
* Updates the container to Ubuntu 19.10 which has Clang 9 packaged which
  is all we need.
* Avoids building `wasmtime` and instead downloads a precompiled binary.
* Updates bindings in `src/wasi.rs` to match the current upstream state.

Gbp-Pq: Name u-wasm32-libc-1625.patch

5 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2020-03-23

Gbp-Pq: Name u-mips-fixes.diff

5 years agothis test is new in 1.40 and the failure is present on many
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
this test is new in 1.40 and the failure is present on many

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

previous rust versions without users having complained or noticed, so
just ignore the failure until upstream fixes it

Gbp-Pq: Name u-tests-ignore-arm.patch

5 years agou-make-tests-work-without-rpath
Chris Coulson [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

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

5 years agou-test-python-3
Debian Rust Maintainers [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
u-test-python-3

Gbp-Pq: Name u-test-python-3.patch

5 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
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

5 years agorustc (1.43.0+dfsg1-1) unstable; urgency=medium
Ximin Luo [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
rustc (1.43.0+dfsg1-1) unstable; urgency=medium

  * Upload to unstable.
  * Bump LLVM B-D version for some backported fixes affecting rustc.

[dgit import unpatched rustc 1.43.0+dfsg1-1]

5 years agoImport rustc_1.43.0+dfsg1-1.debian.tar.xz
Ximin Luo [Sun, 5 Jul 2020 14:06:52 +0000 (15:06 +0100)]
Import rustc_1.43.0+dfsg1-1.debian.tar.xz

[dgit import tarball rustc 1.43.0+dfsg1-1 rustc_1.43.0+dfsg1-1.debian.tar.xz]

5 years agoImport rustc_1.43.0+dfsg1.orig.tar.xz
Ximin Luo [Mon, 27 Apr 2020 12:09:20 +0000 (13:09 +0100)]
Import rustc_1.43.0+dfsg1.orig.tar.xz

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