Josh Stone [Tue, 25 Jul 2023 20:11:50 +0000 (13:11 -0700)]
[PATCH] Allow using external builds of the compiler-rt profile lib
This changes the bootstrap config `target.*.profiler` from a plain bool
to also allow a string, which will be used as a path to the pre-built
profiling runtime for that target. Then `profiler_builtins/build.rs`
reads that in a `LLVM_PROFILER_RT_LIB` environment variable.
explicitly disable split unpacked debuginfo for now on riscv64,
it's broken and we don't want cargo to auto-enable it..
https://github.com/llvm/llvm-project/issues/56642
https://github.com/rust-lang/rust/issues/110224Z
Gbp-Pq: Name u-riscv-disable-unpacked-split-debuginfo.patch
When cfg(test), Config::parse doesn't parse a config.toml but uses default
values, failing when the initial rustc is needed. This is a workaround before
upstream issue gets solved.
Last-Update: 2023-03-29
Gbp-Pq: Name u-fix-get-toml-when-test.patch
[changes brought forward from 1.15.1+dfsg1-1~exp3+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Wed, 15 Mar 2017 10:16:18 +0000]
* Build for armv6.
[changes introduced in 1.18.0+dfsg1-4+rpi1 by Peter Michael Green]
* Disable testsuite.
[changes introduced in 1.37.0+dfsg1-1+rpi1 by Peter Michael Green]
* Set DEB_BUILD_RUST_TYPE based on the compiler that is actually installed.
[changes introduced in 1.42.0+dfsg1-1+rpi1 by Peter Michael Green]
* Use the compiler itself rather than dpkg to detect DEB_BUILD_RUST_TYPE
[changes introduced in 1.57.0+dfsg1-1+rpi1 by Peter Michael Green]
* Disable testsuite for arch all builds as well.