Skip to content

Commit eee7658

Browse files
committedNov 19, 2024
Apply formatting to macro bodies
Run `ci/style.sh` with the changes introduced in [1]. [1]: #4107
1 parent 9da7ceb commit eee7658

File tree

105 files changed

+2960
-2763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+2960
-2763
lines changed
 

‎src/fixed_width_ints.rs

+19-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ pub type uint32_t = u32;
2020
pub type uint64_t = u64;
2121

2222
cfg_if! {
23-
if #[cfg(all(target_arch = "aarch64", not(any(target_os = "windows", target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos"))))] {
23+
if #[cfg(all(
24+
target_arch = "aarch64",
25+
not(any(
26+
target_os = "windows",
27+
target_os = "macos",
28+
target_os = "ios",
29+
target_os = "tvos",
30+
target_os = "watchos"
31+
))
32+
))] {
2433
// This introduces partial support for FFI with __int128 and
2534
// equivalent types on platforms where Rust's definition is validated
2635
// to match the standard C ABI of that platform.
@@ -93,7 +102,15 @@ cfg_if! {
93102

94103
// static_assert_eq!(core::mem::size_of::<__uint128_t>(), _SIZE_128);
95104
// static_assert_eq!(core::mem::align_of::<__uint128_t>(), _ALIGN_128);
96-
} else if #[cfg(all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos")))] {
105+
} else if #[cfg(all(
106+
target_arch = "aarch64",
107+
any(
108+
target_os = "macos",
109+
target_os = "ios",
110+
target_os = "tvos",
111+
target_os = "watchos"
112+
)
113+
))] {
97114
/// C `__int128_t`
98115
pub type __int128_t = i128;
99116
/// C `__uint128_t`

0 commit comments

Comments
 (0)