Fix va_list on watchOS and visionOS
This commit is contained in:
parent
a6d9da6b2a
commit
214d588a5b
@ -213,7 +213,7 @@ impl fmt::Debug for c_void {
|
||||
not(target_arch = "s390x"),
|
||||
not(target_arch = "x86_64")
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
all(target_arch = "aarch64", target_vendor = "apple"),
|
||||
target_family = "wasm",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
@ -241,7 +241,7 @@ pub struct VaListImpl<'f> {
|
||||
not(target_arch = "s390x"),
|
||||
not(target_arch = "x86_64")
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
all(target_arch = "aarch64", target_vendor = "apple"),
|
||||
target_family = "wasm",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
@ -265,7 +265,7 @@ impl<'f> fmt::Debug for VaListImpl<'f> {
|
||||
/// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
|
||||
#[cfg(all(
|
||||
target_arch = "aarch64",
|
||||
not(any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
not(target_vendor = "apple"),
|
||||
not(target_os = "uefi"),
|
||||
not(windows),
|
||||
))]
|
||||
@ -362,10 +362,7 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
not(target_arch = "s390x"),
|
||||
not(target_arch = "x86_64")
|
||||
),
|
||||
all(
|
||||
target_arch = "aarch64",
|
||||
any(target_os = "macos", target_os = "ios", target_os = "tvos")
|
||||
),
|
||||
all(target_arch = "aarch64", target_vendor = "apple"),
|
||||
target_family = "wasm",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
@ -379,10 +376,7 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
target_arch = "s390x",
|
||||
target_arch = "x86_64"
|
||||
),
|
||||
any(
|
||||
not(target_arch = "aarch64"),
|
||||
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
|
||||
),
|
||||
any(not(target_arch = "aarch64"), not(target_vendor = "apple")),
|
||||
not(target_family = "wasm"),
|
||||
not(target_os = "uefi"),
|
||||
not(windows),
|
||||
@ -399,7 +393,7 @@ pub struct VaList<'a, 'f: 'a> {
|
||||
not(target_arch = "s390x"),
|
||||
not(target_arch = "x86_64")
|
||||
),
|
||||
all(target_arch = "aarch64", any(target_os = "macos", target_os = "ios", target_os = "tvos")),
|
||||
all(target_arch = "aarch64", target_vendor = "apple"),
|
||||
target_family = "wasm",
|
||||
target_os = "uefi",
|
||||
windows,
|
||||
@ -425,10 +419,7 @@ impl<'f> VaListImpl<'f> {
|
||||
target_arch = "s390x",
|
||||
target_arch = "x86_64"
|
||||
),
|
||||
any(
|
||||
not(target_arch = "aarch64"),
|
||||
not(any(target_os = "macos", target_os = "ios", target_os = "tvos"))
|
||||
),
|
||||
any(not(target_arch = "aarch64"), not(target_vendor = "apple")),
|
||||
not(target_family = "wasm"),
|
||||
not(target_os = "uefi"),
|
||||
not(windows),
|
||||
|
Loading…
x
Reference in New Issue
Block a user