diff options
author | Marat Safin <jeizsm@gmail.com> | 2017-11-24 12:55:56 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-25 22:56:34 +0100 |
commit | 07bfc35e9ce6118bad6f42a2a2d0b8ab513aa0db (patch) | |
tree | d4220785ebdd4517bcea8b48f95a3c75078baa7a /community/rust/alpine-target.patch | |
parent | 1ad9ac4dfce192b917e228e81514932c791b4490 (diff) | |
download | aports-07bfc35e9ce6118bad6f42a2a2d0b8ab513aa0db.tar.bz2 aports-07bfc35e9ce6118bad6f42a2a2d0b8ab513aa0db.tar.xz |
community/rust: upgrade to 1.22.1
Diffstat (limited to 'community/rust/alpine-target.patch')
-rw-r--r-- | community/rust/alpine-target.patch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/community/rust/alpine-target.patch b/community/rust/alpine-target.patch index 0bd52655e1..d8cd7d7b1c 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,34 @@ +@@ -0,0 +1,35 @@ +// 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. @@ -51,6 +51,7 @@ and distribution-specific quirks instead of polluting the main musl target of + llvm_target: "i586-alpine-linux-musl".to_string(), + target_endian: "little".to_string(), + target_pointer_width: "32".to_string(), ++ target_c_int_width: "32".to_string(), + data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(), + arch: "x86".to_string(), + target_os: "linux".to_string(), @@ -62,7 +63,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,34 @@ +@@ -0,0 +1,35 @@ +// 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. @@ -88,6 +89,7 @@ and distribution-specific quirks instead of polluting the main musl target of + llvm_target: "x86_64-alpine-linux-musl".to_string(), + target_endian: "little".to_string(), + target_pointer_width: "64".to_string(), ++ target_c_int_width: "32".to_string(), + data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(), + arch: "x86_64".to_string(), + target_os: "linux".to_string(), @@ -99,7 +101,7 @@ and distribution-specific quirks instead of polluting the main musl target of +} --- /dev/null +++ b/src/librustc_back/target/aarch64_alpine_linux_musl.rs -@@ -0,0 +1,38 @@ +@@ -0,0 +1,39 @@ +// 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. @@ -126,6 +128,7 @@ and distribution-specific quirks instead of polluting the main musl target of + llvm_target: "aarch64-alpine-linux-musl".to_string(), + target_endian: "little".to_string(), + target_pointer_width: "64".to_string(), ++ target_c_int_width: "32".to_string(), + data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(), + arch: "aarch64".to_string(), + target_os: "linux".to_string(), @@ -140,7 +143,7 @@ and distribution-specific quirks instead of polluting the main musl target of +} --- /dev/null +++ b/src/librustc_back/target/arm_alpine_linux_musleabihf.rs -@@ -0,0 +1,40 @@ +@@ -0,0 +1,41 @@ +// 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. @@ -169,6 +172,7 @@ and distribution-specific quirks instead of polluting the main musl target of + llvm_target: "arm-alpine-linux-musleabihf".to_string(), + target_endian: "little".to_string(), + target_pointer_width: "32".to_string(), ++ target_c_int_width: "32".to_string(), + data_layout: "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), + arch: "arm".to_string(), + target_os: "linux".to_string(), |