@@ -91,7 +91,7 @@ pub type rlim_t = c_ulonglong;
91
91
pub type c_long = i64 ;
92
92
pub type c_ulong = u64 ;
93
93
94
- // FIXME: why are these uninhabited types? that seems... wrong?
94
+ // FIXME(fuchsia) : why are these uninhabited types? that seems... wrong?
95
95
// Presumably these should be `()` or an `extern type` (when that stabilizes).
96
96
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
97
97
pub enum timezone { }
@@ -111,7 +111,7 @@ impl Clone for DIR {
111
111
}
112
112
113
113
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
114
- pub enum fpos64_t { } // FIXME: fill this out with a struct
114
+ pub enum fpos64_t { } // FIXME(fuchsia) : fill this out with a struct
115
115
impl Copy for fpos64_t { }
116
116
impl Clone for fpos64_t {
117
117
fn clone ( & self ) -> fpos64_t {
144
144
pub tv_nsec: c_long,
145
145
}
146
146
147
- // FIXME: the rlimit and rusage related functions and types don't exist
147
+ // FIXME(fuchsia) : the rlimit and rusage related functions and types don't exist
148
148
// within zircon. Are there reasons for keeping them around?
149
149
pub struct rlimit {
150
150
pub rlim_cur: rlim_t,
478
478
pub ifa_flags: c_uint,
479
479
pub ifa_addr: * mut crate :: sockaddr,
480
480
pub ifa_netmask: * mut crate :: sockaddr,
481
- pub ifa_ifu: * mut crate :: sockaddr, // FIXME This should be a union
481
+ pub ifa_ifu: * mut crate :: sockaddr, // FIXME(union) This should be a union
482
482
pub ifa_data: * mut c_void,
483
483
}
484
484
@@ -1097,7 +1097,7 @@ cfg_if! {
1097
1097
. field( "totalhigh" , & self . totalhigh)
1098
1098
. field( "freehigh" , & self . freehigh)
1099
1099
. field( "mem_unit" , & self . mem_unit)
1100
- // FIXME: .field("__reserved", &self.__reserved)
1100
+ // FIXME(debug) : .field("__reserved", &self.__reserved)
1101
1101
. finish( )
1102
1102
}
1103
1103
}
@@ -1135,7 +1135,7 @@ cfg_if! {
1135
1135
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1136
1136
f. debug_struct( "sockaddr_un" )
1137
1137
. field( "sun_family" , & self . sun_family)
1138
- // FIXME: .field("sun_path", &self.sun_path)
1138
+ // FIXME(debug) : .field("sun_path", &self.sun_path)
1139
1139
. finish( )
1140
1140
}
1141
1141
}
@@ -1163,7 +1163,7 @@ cfg_if! {
1163
1163
f. debug_struct( "sockaddr_storage" )
1164
1164
. field( "ss_family" , & self . ss_family)
1165
1165
. field( "__ss_align" , & self . __ss_align)
1166
- // FIXME: .field("__ss_pad2", &self.__ss_pad2)
1166
+ // FIXME(debug) : .field("__ss_pad2", &self.__ss_pad2)
1167
1167
. finish( )
1168
1168
}
1169
1169
}
@@ -1207,11 +1207,11 @@ cfg_if! {
1207
1207
impl fmt:: Debug for utsname {
1208
1208
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1209
1209
f. debug_struct( "utsname" )
1210
- // FIXME: .field("sysname", &self.sysname)
1211
- // FIXME: .field("nodename", &self.nodename)
1212
- // FIXME: .field("release", &self.release)
1213
- // FIXME: .field("version", &self.version)
1214
- // FIXME: .field("machine", &self.machine)
1210
+ // FIXME(debug) : .field("sysname", &self.sysname)
1211
+ // FIXME(debug) : .field("nodename", &self.nodename)
1212
+ // FIXME(debug) : .field("release", &self.release)
1213
+ // FIXME(debug) : .field("version", &self.version)
1214
+ // FIXME(debug) : .field("machine", &self.machine)
1215
1215
. finish( )
1216
1216
}
1217
1217
}
@@ -1246,7 +1246,7 @@ cfg_if! {
1246
1246
. field( "d_off" , & self . d_off)
1247
1247
. field( "d_reclen" , & self . d_reclen)
1248
1248
. field( "d_type" , & self . d_type)
1249
- // FIXME: .field("d_name", &self.d_name)
1249
+ // FIXME(debug) : .field("d_name", &self.d_name)
1250
1250
. finish( )
1251
1251
}
1252
1252
}
@@ -1281,7 +1281,7 @@ cfg_if! {
1281
1281
. field( "d_off" , & self . d_off)
1282
1282
. field( "d_reclen" , & self . d_reclen)
1283
1283
. field( "d_type" , & self . d_type)
1284
- // FIXME: .field("d_name", &self.d_name)
1284
+ // FIXME(debug) : .field("d_name", &self.d_name)
1285
1285
. finish( )
1286
1286
}
1287
1287
}
@@ -1390,7 +1390,7 @@ cfg_if! {
1390
1390
impl fmt:: Debug for pthread_cond_t {
1391
1391
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1392
1392
f. debug_struct( "pthread_cond_t" )
1393
- // FIXME: .field("size", &self.size)
1393
+ // FIXME(debug) : .field("size", &self.size)
1394
1394
. finish( )
1395
1395
}
1396
1396
}
@@ -1409,7 +1409,7 @@ cfg_if! {
1409
1409
impl fmt:: Debug for pthread_mutex_t {
1410
1410
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1411
1411
f. debug_struct( "pthread_mutex_t" )
1412
- // FIXME: .field("size", &self.size)
1412
+ // FIXME(debug) : .field("size", &self.size)
1413
1413
. finish( )
1414
1414
}
1415
1415
}
@@ -1428,7 +1428,7 @@ cfg_if! {
1428
1428
impl fmt:: Debug for pthread_rwlock_t {
1429
1429
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1430
1430
f. debug_struct( "pthread_rwlock_t" )
1431
- // FIXME: .field("size", &self.size)
1431
+ // FIXME(debug) : .field("size", &self.size)
1432
1432
. finish( )
1433
1433
}
1434
1434
}
@@ -3562,7 +3562,7 @@ impl Clone for FILE {
3562
3562
}
3563
3563
}
3564
3564
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
3565
- pub enum fpos_t { } // FIXME: fill this out with a struct
3565
+ pub enum fpos_t { } // FIXME(fuchsia) : fill this out with a struct
3566
3566
impl Copy for fpos_t { }
3567
3567
impl Clone for fpos_t {
3568
3568
fn clone ( & self ) -> fpos_t {
0 commit comments