@@ -25,7 +25,7 @@ crate::cfg_select! {
25
25
///
26
26
/// [AArch64 Procedure Call Standard]:
27
27
/// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
28
- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
28
+ #[ repr( C ) ]
29
29
#[ derive( Debug ) ]
30
30
#[ lang = "va_list" ]
31
31
pub struct VaListImpl <' f> {
@@ -39,7 +39,7 @@ crate::cfg_select! {
39
39
}
40
40
all( target_arch = "powerpc" , not( target_os = "uefi" ) , not( windows) ) => {
41
41
/// PowerPC ABI implementation of a `va_list`.
42
- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
42
+ #[ repr( C ) ]
43
43
#[ derive( Debug ) ]
44
44
#[ lang = "va_list" ]
45
45
pub struct VaListImpl <' f> {
@@ -53,7 +53,7 @@ crate::cfg_select! {
53
53
}
54
54
target_arch = "s390x" => {
55
55
/// s390x ABI implementation of a `va_list`.
56
- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
56
+ #[ repr( C ) ]
57
57
#[ derive( Debug ) ]
58
58
#[ lang = "va_list" ]
59
59
pub struct VaListImpl <' f> {
@@ -66,7 +66,7 @@ crate::cfg_select! {
66
66
}
67
67
all( target_arch = "x86_64" , not( target_os = "uefi" ) , not( windows) ) => {
68
68
/// x86_64 ABI implementation of a `va_list`.
69
- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
69
+ #[ repr( C ) ]
70
70
#[ derive( Debug ) ]
71
71
#[ lang = "va_list" ]
72
72
pub struct VaListImpl <' f> {
0 commit comments