From 3b2c2faa1fbc4bb51fa1dc34f71fea155f5f0664 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Thu, 13 Apr 2017 14:55:55 +0200 Subject: testing/rust: build dynamically linked binaries by default Note that users still can switch to static linking using `-C target-feature=+crt-static`, that is allowed in our rustc. --- testing/rust/fix-linux_musl_base.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/rust/fix-linux_musl_base.patch') diff --git a/testing/rust/fix-linux_musl_base.patch b/testing/rust/fix-linux_musl_base.patch index 38194290cb..952d871667 100644 --- a/testing/rust/fix-linux_musl_base.patch +++ b/testing/rust/fix-linux_musl_base.patch @@ -57,7 +57,8 @@ See https://github.com/rust-lang/rust/pull/40113 - base.post_link_objects.push("crtn.o".to_string()); - // Except for on MIPS, these targets statically link libc by default. - base.crt_static_default = true; +- base.crt_static_default = true; ++ base.crt_static_default = false; base } -- cgit v1.2.3