Codebase list rust-stfu8 / 7745e67
portable-atomic - newer upstream release and fix armel. Peter Michael Green 1 year, 3 months ago
4 changed file(s) with 51 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
0 rust-portable-atomic (0.3.19-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package portable-atomic 0.3.19 from crates.io using debcargo 2.6.0
4 * Update gate-tests.patch to support armel.
5
6 -- Peter Michael Green <plugwash@debian.org> Sat, 28 Jan 2023 00:12:54 +0000
7
08 rust-portable-atomic (0.3.15-1) unstable; urgency=medium
19
210 * Package portable-atomic 0.3.15 from crates.io using debcargo 2.5.0
99
1010 Files: debian/*
1111 Copyright:
12 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
12 2022-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1313 2022 Alexander Kjäll <alexander.kjall@gmail.com>
1414 License: Apache-2.0 or MIT
1515
1313
1414 Files: debian/*
1515 Copyright:
16 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
17 2022 Alexander Kjäll <alexander.kjall@gmail.com>
16 2022-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
17 2022-2023 Alexander Kjäll <alexander.kjall@gmail.com>
1818 License: Apache-2.0 or MIT
1919
2020 License: Apache-2.0
0 diff --git a/src/tests/mod.rs b/src/tests/mod.rs
1 index 42c5486..4ae4fa4 100644
2 --- a/src/tests/mod.rs
3 +++ b/src/tests/mod.rs
4 @@ -38,6 +38,7 @@ test_atomic_int_pub!(u64);
5 ),
6 cfg(not(qemu))
0 --- rust-portable-atomic-0.3.15.orig/src/tests/mod.rs
1 +++ rust-portable-atomic-0.3.15/src/tests/mod.rs
2 @@ -27,3 +27,5 @@
3 test_atomic_int_pub!(u32);
4 +#[cfg(any(fallback,target_has_atomic = "64"))]
5 test_atomic_int_pub!(i64);
6 +#[cfg(any(fallback,target_has_atomic = "64"))]
7 test_atomic_int_pub!(u64);
8 @@ -40,2 +42,3 @@
79 )]
810 +#[cfg(feature = "fallback")]
911 test_atomic_int_pub!(i128);
10 #[cfg_attr(
11 all(
12 @@ -49,6 +50,7 @@ test_atomic_int_pub!(i128);
13 ),
14 cfg(not(qemu))
12 @@ -51,2 +54,3 @@
1513 )]
1614 +#[cfg(feature = "fallback")]
1715 test_atomic_int_pub!(u128);
18 #[cfg(qemu)]
19 #[cfg(target_arch = "powerpc64")]
16 @@ -69,3 +73,3 @@
17 test_atomic_float_pub!(f32);
18 -#[cfg(feature = "float")]
19 +#[cfg(all(feature = "float",any(fallback,target_has_atomic = "64")))]
20 test_atomic_float_pub!(f64);
21 @@ -84,3 +88,5 @@
22 fn _atomic_u32_ffi_safety(_: AtomicU32);
23 + #[cfg(any(fallback,target_has_atomic = "64"))]
24 fn _atomic_i64_ffi_safety(_: AtomicI64);
25 + #[cfg(any(fallback,target_has_atomic = "64"))]
26 fn _atomic_u64_ffi_safety(_: AtomicU64);
27 @@ -93,3 +99,3 @@
28 fn _atomic_f32_ffi_safety(_: AtomicF32);
29 - #[cfg(feature = "float")]
30 + #[cfg(all(feature = "float",any(fallback,target_has_atomic = "64")))]
31 fn _atomic_f64_ffi_safety(_: AtomicF64);
32 only in patch2:
33 --- rust-portable-atomic-0.3.15.orig/src/tests/serde.rs
34 +++ rust-portable-atomic-0.3.15/src/tests/serde.rs
35 @@ -40,3 +40,5 @@
36 t!(AtomicU32, u32, U32);
37 + #[cfg(any(fallback,target_has_atomic = "64"))]
38 t!(AtomicI64, i64, I64);
39 + #[cfg(any(fallback,target_has_atomic = "64"))]
40 t!(AtomicU64, u64, U64);
41 @@ -47,3 +49,3 @@
42 t!(AtomicF32, f32, F32);
43 - #[cfg(feature = "float")]
44 + #[cfg(all(feature = "float",any(fallback,target_has_atomic = "64")))]
45 t!(AtomicF64, f64, F64);