@@ -204,7 +204,7 @@ mod c_long_definition {
204204// be UB.
205205#[ doc = include_str ! ( "c_void.md" ) ]
206206#[ lang = "c_void" ]
207- #[ cfg_attr ( not ( doc ) , repr( u8 ) ) ] // work around https://github.com/rust-lang/rust/issues/90435
207+ #[ repr( u8 ) ]
208208#[ stable( feature = "core_c_void" , since = "1.30.0" ) ]
209209pub enum c_void {
210210 #[ unstable(
@@ -245,7 +245,7 @@ impl fmt::Debug for c_void {
245245 target_os = "uefi" ,
246246 windows,
247247) ) ]
248- #[ cfg_attr ( not ( doc ) , repr( transparent) ) ] // work around https://github.com/rust-lang/rust/issues/90435
248+ #[ repr( transparent) ]
249249#[ unstable(
250250 feature = "c_variadic" ,
251251 reason = "the `c_variadic` feature has not been properly tested on \
@@ -297,7 +297,7 @@ impl<'f> fmt::Debug for VaListImpl<'f> {
297297 not( target_os = "uefi" ) ,
298298 not( windows) ,
299299) ) ]
300- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
300+ #[ repr( C ) ]
301301#[ derive( Debug ) ]
302302#[ unstable(
303303 feature = "c_variadic" ,
@@ -317,7 +317,7 @@ pub struct VaListImpl<'f> {
317317
318318/// PowerPC ABI implementation of a `va_list`.
319319#[ cfg( all( target_arch = "powerpc" , not( target_os = "uefi" ) , not( windows) ) ) ]
320- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
320+ #[ repr( C ) ]
321321#[ derive( Debug ) ]
322322#[ unstable(
323323 feature = "c_variadic" ,
@@ -337,7 +337,7 @@ pub struct VaListImpl<'f> {
337337
338338/// s390x ABI implementation of a `va_list`.
339339#[ cfg( target_arch = "s390x" ) ]
340- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
340+ #[ repr( C ) ]
341341#[ derive( Debug ) ]
342342#[ unstable(
343343 feature = "c_variadic" ,
@@ -356,7 +356,7 @@ pub struct VaListImpl<'f> {
356356
357357/// x86_64 ABI implementation of a `va_list`.
358358#[ cfg( all( target_arch = "x86_64" , not( target_os = "uefi" ) , not( windows) ) ) ]
359- #[ cfg_attr ( not ( doc ) , repr( C ) ) ] // work around https://github.com/rust-lang/rust/issues/66401
359+ #[ repr( C ) ]
360360#[ derive( Debug ) ]
361361#[ unstable(
362362 feature = "c_variadic" ,
@@ -374,7 +374,7 @@ pub struct VaListImpl<'f> {
374374}
375375
376376/// A wrapper for a `va_list`
377- #[ cfg_attr ( not ( doc ) , repr( transparent) ) ] // work around https://github.com/rust-lang/rust/issues/90435
377+ #[ repr( transparent) ]
378378#[ derive( Debug ) ]
379379#[ unstable(
380380 feature = "c_variadic" ,
0 commit comments