diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-05 23:52:13 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-06 00:52:21 +0100 |
commit | 828622384ec41ab33ea6c431d0089a9d606a9ae1 (patch) | |
tree | e55a315ee64ad25310482e668968274b6cfc0d0a /community/rust/alpine-target.patch | |
parent | 7b725b28fc02b6131ab2807ec22bc9ce3f286cc2 (diff) | |
download | aports-828622384ec41ab33ea6c431d0089a9d606a9ae1.tar.bz2 aports-828622384ec41ab33ea6c431d0089a9d606a9ae1.tar.xz |
community/rust: upgrade to 1.23.0
Diffstat (limited to 'community/rust/alpine-target.patch')
-rw-r--r-- | community/rust/alpine-target.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/community/rust/alpine-target.patch b/community/rust/alpine-target.patch index d8cd7d7b1c..4bb2173e5a 100644 --- a/community/rust/alpine-target.patch +++ b/community/rust/alpine-target.patch @@ -25,7 +25,7 @@ and distribution-specific quirks instead of polluting the main musl target of /// Everything `rustc` knows about how to compile for a specific target. --- /dev/null +++ b/src/librustc_back/target/i586_alpine_linux_musl.rs -@@ -0,0 +1,35 @@ +@@ -0,0 +1,36 @@ +// Copyright 2017 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. @@ -43,6 +43,7 @@ and distribution-specific quirks instead of polluting the main musl target of + let mut base = super::linux_musl_base::opts(); + base.cpu = "pentium4".to_string(); + base.max_atomic_width = Some(64); ++ base.stack_probes = true; + base.crt_static_default = false; + base.static_position_independent_executables = true; + base.need_rpath = true; @@ -63,7 +64,7 @@ and distribution-specific quirks instead of polluting the main musl target of +} --- /dev/null +++ b/src/librustc_back/target/x86_64_alpine_linux_musl.rs -@@ -0,0 +1,35 @@ +@@ -0,0 +1,36 @@ +// Copyright 2017 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. @@ -81,6 +82,7 @@ and distribution-specific quirks instead of polluting the main musl target of + let mut base = super::linux_musl_base::opts(); + base.cpu = "x86-64".to_string(); + base.max_atomic_width = Some(64); ++ base.stack_probes = true; + base.crt_static_default = false; + base.static_position_independent_executables = true; + base.need_rpath = true; |