From eb064c8d0fafe5b638f0fb1f487acfa80c8d777b Mon Sep 17 00:00:00 2001 From: Marat Safin Date: Mon, 23 Oct 2017 22:18:55 +0300 Subject: community/rust: upgrade to 1.21 --- community/rust/musl-fix-linux_musl_base.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'community/rust/musl-fix-linux_musl_base.patch') diff --git a/community/rust/musl-fix-linux_musl_base.patch b/community/rust/musl-fix-linux_musl_base.patch index f2efb065e0..7b2f26895c 100644 --- a/community/rust/musl-fix-linux_musl_base.patch +++ b/community/rust/musl-fix-linux_musl_base.patch @@ -56,8 +56,10 @@ See https://github.com/rust-lang/rust/pull/40113 - base.pre_link_objects_exe.push("crti.o".to_string()); - base.post_link_objects.push("crtn.o".to_string()); - - // Except for on MIPS, these targets statically link libc by default. + // These targets statically link libc by default base.crt_static_default = true; + // These targets allow the user to choose between static and dynamic linking. + base.crt_static_respected = true; base } -- cgit v1.2.3