From 195a8c09fff2f0520c0871e3d33e8d8895f05c7a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 8 Sep 2019 16:47:59 +0200 Subject: extra/rust: debuginfo-level-std=1 --- extra/rust/PKGBUILD | 8 +++++++- extra/rust/config.toml.patch | Bin 274 -> 468 bytes 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 503f34a4..b8c419ce 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -1,7 +1,12 @@ # enable i686-unknown-linux-gnu target # and replace pentium4 (SSE2) with pentium3 (no SSE2) in the compiler spec file +# +# Also trying to reduce memory usage by building with +# -debuginfo-level-std=1 +# see https://github.com/rust-lang/rust/issues/60294 + source+=(config.toml.patch) -sha256sums+=('55d59786b6a24590951688c01910ac331996fc5ea5e20f10d227db24b93b1e74') +sha256sums+=('a077c28d067f5a0b12fcd4898919773929ff76b788af5ae18bfee7275914076e') eval "$( declare -f prepare | \ @@ -28,3 +33,4 @@ if [ "${CARCH}" != 'pentium4' ]; then ' )" fi + diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch index f479499b..56a3375b 100644 Binary files a/extra/rust/config.toml.patch and b/extra/rust/config.toml.patch differ -- cgit v1.2.3-54-g00ecf