1
Fork 0

Do not Atomic{I,U}128 in stage0

This commit is contained in:
Simonas Kazlauskas 2018-11-05 15:46:13 +02:00
parent 5e50acf443
commit 99f7dc451f
2 changed files with 4 additions and 4 deletions

View file

@ -1938,7 +1938,7 @@ atomic_int! {
8, 8,
u64 AtomicU64 ATOMIC_U64_INIT u64 AtomicU64 ATOMIC_U64_INIT
} }
#[cfg(target_has_atomic = "128")] #[cfg(all(not(stage0), target_has_atomic = "128"))]
atomic_int! { atomic_int! {
unstable(feature = "integer_atomics", issue = "32976"), unstable(feature = "integer_atomics", issue = "32976"),
unstable(feature = "integer_atomics", issue = "32976"), unstable(feature = "integer_atomics", issue = "32976"),
@ -1952,7 +1952,7 @@ atomic_int! {
16, 16,
i128 AtomicI128 ATOMIC_I128_INIT i128 AtomicI128 ATOMIC_I128_INIT
} }
#[cfg(target_has_atomic = "128")] #[cfg(all(not(stage0), target_has_atomic = "128"))]
atomic_int! { atomic_int! {
unstable(feature = "integer_atomics", issue = "32976"), unstable(feature = "integer_atomics", issue = "32976"),
unstable(feature = "integer_atomics", issue = "32976"), unstable(feature = "integer_atomics", issue = "32976"),

View file

@ -264,7 +264,7 @@ impl RefUnwindSafe for atomic::AtomicI32 {}
#[cfg(target_has_atomic = "64")] #[cfg(target_has_atomic = "64")]
#[unstable(feature = "integer_atomics", issue = "32976")] #[unstable(feature = "integer_atomics", issue = "32976")]
impl RefUnwindSafe for atomic::AtomicI64 {} impl RefUnwindSafe for atomic::AtomicI64 {}
#[cfg(target_has_atomic = "128")] #[cfg(all(not(stage0), target_has_atomic = "128"))]
#[unstable(feature = "integer_atomics", issue = "32976")] #[unstable(feature = "integer_atomics", issue = "32976")]
impl RefUnwindSafe for atomic::AtomicI128 {} impl RefUnwindSafe for atomic::AtomicI128 {}
@ -283,7 +283,7 @@ impl RefUnwindSafe for atomic::AtomicU32 {}
#[cfg(target_has_atomic = "64")] #[cfg(target_has_atomic = "64")]
#[unstable(feature = "integer_atomics", issue = "32976")] #[unstable(feature = "integer_atomics", issue = "32976")]
impl RefUnwindSafe for atomic::AtomicU64 {} impl RefUnwindSafe for atomic::AtomicU64 {}
#[cfg(target_has_atomic = "128")] #[cfg(all(not(stage0), target_has_atomic = "128"))]
#[unstable(feature = "integer_atomics", issue = "32976")] #[unstable(feature = "integer_atomics", issue = "32976")]
impl RefUnwindSafe for atomic::AtomicU128 {} impl RefUnwindSafe for atomic::AtomicU128 {}