Skip to content

Commit

Permalink
Make VaList contain a VaListImpl directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jothan committed Oct 19, 2024
1 parent e698506 commit 1eb0b2f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions library/core/src/ffi/va_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ pub struct VaList<'a, 'f: 'a> {
not(target_arch = "aarch64"),
not(target_arch = "powerpc"),
not(target_arch = "s390x"),
not(target_arch = "xtensa"),
not(target_arch = "x86_64")
),
target_arch = "xtensa",
all(target_arch = "aarch64", target_vendor = "apple"),
target_family = "wasm",
target_os = "uefi",
Expand All @@ -151,7 +151,6 @@ pub struct VaList<'a, 'f: 'a> {
target_arch = "aarch64",
target_arch = "powerpc",
target_arch = "s390x",
target_arch = "xtensa",
target_arch = "x86_64"
),
any(not(target_arch = "aarch64"), not(target_vendor = "apple")),
Expand All @@ -169,9 +168,9 @@ pub struct VaList<'a, 'f: 'a> {
not(target_arch = "aarch64"),
not(target_arch = "powerpc"),
not(target_arch = "s390x"),
not(target_arch = "xtensa"),
not(target_arch = "x86_64")
),
target_arch = "xtensa",
all(target_arch = "aarch64", target_vendor = "apple"),
target_family = "wasm",
target_os = "uefi",
Expand All @@ -190,9 +189,9 @@ impl<'f> VaListImpl<'f> {
target_arch = "aarch64",
target_arch = "powerpc",
target_arch = "s390x",
target_arch = "xtensa",
target_arch = "x86_64"
),
not(target_arch = "xtensa"),
any(not(target_arch = "aarch64"), not(target_vendor = "apple")),
not(target_family = "wasm"),
not(target_os = "uefi"),
Expand Down

0 comments on commit 1eb0b2f

Please sign in to comment.