1
- From 40c86527fe92b608a65cc1187901035ebc56b281 Mon Sep 17 00:00:00 2001
1
+ From d8bb60cc115960702f73f83866cde65dcdcf1cb4 Mon Sep 17 00:00:00 2001
2
2
3
- Date: Sat, 6 Oct 2018 13:21:15 +0200
3
+ Date: Sat, 17 Nov 2018 11:08:10 +0100
4
4
Subject: [PATCH] Fix libstd building
5
5
6
6
---
7
7
src/libstd/lib.rs | 6 ------
8
8
src/libstd/net/ip.rs | 20 --------------------
9
9
src/libstd/num.rs | 2 +-
10
+ src/libstd/panic.rs | 6 ------
10
11
src/libstd/primitive_docs.rs | 16 ----------------
11
- 4 files changed, 1 insertion(+), 43 deletions(-)
12
+ 5 files changed, 1 insertion(+), 49 deletions(-)
12
13
13
14
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
14
- index 4768e8b..c89f99a 100644
15
+ index 6110b05..8b0c897 100644
15
16
--- a/src/libstd/lib.rs
16
17
+++ b/src/libstd/lib.rs
17
- @@ -257 ,7 +257 ,6 @@
18
+ @@ -255 ,7 +255 ,6 @@
18
19
#![feature(const_cstr_unchecked)]
19
20
#![feature(core_intrinsics)]
20
21
#![feature(dropck_eyepatch)]
21
22
- #![feature(duration_as_u128)]
22
23
#![feature(exact_size_is_empty)]
23
24
#![feature(external_doc)]
24
25
#![feature(fixed_size_array)]
25
- @@ -287 ,7 +286 ,6 @@
26
+ @@ -286 ,7 +285 ,6 @@
26
27
#![feature(rustc_attrs)]
27
28
#![feature(rustc_const_unstable)]
28
29
#![feature(std_internals)]
29
30
- #![cfg_attr(not(stage0), feature(stdsimd))]
30
31
#![feature(shrink_to)]
31
32
#![feature(slice_concat_ext)]
32
33
#![feature(slice_internals)]
33
- @@ -410 ,8 +408 ,6 @@ pub use core::i16;
34
+ @@ -402 ,8 +400 ,6 @@ pub use core::i16;
34
35
pub use core::i32;
35
36
#[stable(feature = "rust1", since = "1.0.0")]
36
37
pub use core::i64;
@@ -39,7 +40,7 @@ index 4768e8b..c89f99a 100644
39
40
#[stable(feature = "rust1", since = "1.0.0")]
40
41
pub use core::usize;
41
42
#[stable(feature = "rust1", since = "1.0.0")]
42
- @@ -444 ,8 +440 ,6 @@ pub use alloc_crate::string;
43
+ @@ -436 ,8 +432 ,6 @@ pub use alloc_crate::string;
43
44
pub use alloc_crate::vec;
44
45
#[stable(feature = "rust1", since = "1.0.0")]
45
46
pub use core::char;
@@ -49,10 +50,10 @@ index 4768e8b..c89f99a 100644
49
50
pub use core::hint;
50
51
51
52
diff --git a/src/libstd/net/ip.rs b/src/libstd/net/ip.rs
52
- index d45a66e..b25b862 100644
53
+ index 8685cb7..c4bf4d2 100644
53
54
--- a/src/libstd/net/ip.rs
54
55
+++ b/src/libstd/net/ip.rs
55
- @@ -1393 ,26 +1393 ,6 @@ impl FromInner<c::in6_addr> for Ipv6Addr {
56
+ @@ -1392 ,26 +1392 ,6 @@ impl FromInner<c::in6_addr> for Ipv6Addr {
56
57
}
57
58
}
58
59
@@ -92,8 +93,32 @@ index 3f90c1f..85aab83 100644
92
93
93
94
#[cfg(test)] use fmt;
94
95
#[cfg(test)] use ops::{Add, Sub, Mul, Div, Rem};
96
+ diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs
97
+ index 4bc18a5..5c87035 100644
98
+ --- a/src/libstd/panic.rs
99
+ +++ b/src/libstd/panic.rs
100
+ @@ -264,9 +264,6 @@ impl RefUnwindSafe for atomic::AtomicI32 {}
101
+ #[cfg(target_has_atomic = "64")]
102
+ #[unstable(feature = "integer_atomics", issue = "32976")]
103
+ impl RefUnwindSafe for atomic::AtomicI64 {}
104
+ - #[cfg(all(not(stage0), target_has_atomic = "128"))]
105
+ - #[unstable(feature = "integer_atomics", issue = "32976")]
106
+ - impl RefUnwindSafe for atomic::AtomicI128 {}
107
+
108
+ #[cfg(target_has_atomic = "ptr")]
109
+ #[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
110
+ @@ -283,9 +280,6 @@ impl RefUnwindSafe for atomic::AtomicU32 {}
111
+ #[cfg(target_has_atomic = "64")]
112
+ #[unstable(feature = "integer_atomics", issue = "32976")]
113
+ impl RefUnwindSafe for atomic::AtomicU64 {}
114
+ - #[cfg(all(not(stage0), target_has_atomic = "128"))]
115
+ - #[unstable(feature = "integer_atomics", issue = "32976")]
116
+ - impl RefUnwindSafe for atomic::AtomicU128 {}
117
+
118
+ #[cfg(target_has_atomic = "8")]
119
+ #[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
95
120
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
96
- index 8d54728..c36893c 100644
121
+ index c2a1612..99824c5 100644
97
122
--- a/src/libstd/primitive_docs.rs
98
123
+++ b/src/libstd/primitive_docs.rs
99
124
@@ -809,14 +809,6 @@ mod prim_i32 { }
@@ -127,5 +152,5 @@ index 8d54728..c36893c 100644
127
152
//
128
153
/// The pointer-sized signed integer type.
129
154
- -
130
- 2.17.1 (Apple Git-112 )
155
+ 2.17.2 (Apple Git-113 )
131
156
0 commit comments