aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/rust/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/rust/APKBUILD b/testing/rust/APKBUILD
index 8dee3c1677..e7bbe856d9 100644
--- a/testing/rust/APKBUILD
+++ b/testing/rust/APKBUILD
@@ -7,7 +7,10 @@ pkgdesc="The Rust Programming Language (compiler)"
url="http://www.rust-lang.org"
arch="x86_64"
license="ASL-2.0 BSD MIT"
-depends="$pkgname-stdlib"
+# gcc is needed at runtime just for linking. Someday rustc might invoke
+# the linker directly, and then we'll only need binutils.
+# See: https://github.com/rust-lang/rust/issues/11937
+depends="$pkgname-stdlib gcc"
# libffi-dev is needed just because we compile llvm3.7 with LLVM_ENABLE_FFI.
makedepends="cmake file libffi-dev llvm3.7 llvm3.7-dev llvm3.7-static
musl-dev python2 tar zlib-dev"