From 75014087b9ebbd788645bd58f817395d03542389 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Fri, 30 Jul 2021 20:38:49 +0700 Subject: [PATCH] rust: enable build on LLVM-only systems --- extra/rust/build | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/extra/rust/build b/extra/rust/build index edfbd0120..0e690b6bf 100755 --- a/extra/rust/build +++ b/extra/rust/build @@ -59,12 +59,33 @@ jemalloc = false debug-assertions = false codegen-tests = false codegen-units-std = 1 +EOF + +case $("$CC" -print-file-name=libunwind.so) in */*) +cat >> config.toml <> config.toml < libgcc/libgcc_s.so <