summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-09-01 05:04:56 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-17 00:58:49 -0500
commit32cc832aa5be04fb3f23e9a51db7ee8bf2d0d927 (patch)
tree43037813d4b8013b4a95e345c6961fe873b4976d
parent2f6e4b9caf98ecd5025e6f2fd7dbfb15b515a358 (diff)
downloadpackages-32cc832aa5be04fb3f23e9a51db7ee8bf2d0d927.tar.gz
packages-32cc832aa5be04fb3f23e9a51db7ee8bf2d0d927.tar.bz2
packages-32cc832aa5be04fb3f23e9a51db7ee8bf2d0d927.tar.xz
packages-32cc832aa5be04fb3f23e9a51db7ee8bf2d0d927.zip
user/rust: Reduce debug information
Similar to the bootstrap compilers, using debuglevel 2 causes 32-bit builders to fail with ENOMEM due to the size of generated debuginfo. Ref: #1249
-rw-r--r--user/rust/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/rust/APKBUILD b/user/rust/APKBUILD
index 6e4d81c82..ed606fd38 100644
--- a/user/rust/APKBUILD
+++ b/user/rust/APKBUILD
@@ -100,7 +100,7 @@ build() {
optimize = true
debug = false
codegen-units = 1
- debuginfo-level = 2
+ debuginfo-level = 1
debuginfo-level-rustc = 0
debuginfo-level-tests = 0
backtrace = true