Skip to content

Commit

Permalink
chore: add labels to FIXMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
lvllvl committed Jan 8, 2025
1 parent b72c9d2 commit f5f94f1
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 437 deletions.
392 changes: 0 additions & 392 deletions fixmes.csv

This file was deleted.

12 changes: 6 additions & 6 deletions src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ cfg_if! {
f.debug_struct("sockaddr_un")
.field("sun_len", &self.sun_len)
.field("sun_family", &self.sun_family)
// FIXME(bsd): .field("sun_path", &self.sun_path)
// FIXME(debug): .field("sun_path", &self.sun_path)
.finish()
}
}
Expand Down Expand Up @@ -232,11 +232,11 @@ cfg_if! {
impl fmt::Debug for utsname {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("utsname")
// FIXME(bsd): .field("sysname", &self.sysname)
// FIXME(bsd): .field("nodename", &self.nodename)
// FIXME(bsd): .field("release", &self.release)
// FIXME(bsd): .field("version", &self.version)
// FIXME(bsd): .field("machine", &self.machine)
// FIXME(debug): .field("sysname", &self.sysname)
// FIXME(debug): .field("nodename", &self.nodename)
// FIXME(debug): .field("release", &self.release)
// FIXME(debug): .field("version", &self.version)
// FIXME(debug): .field("machine", &self.machine)
.finish()
}
}
Expand Down
20 changes: 10 additions & 10 deletions src/unix/bsd/netbsdlike/openbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ cfg_if! {
.field("d_reclen", &self.d_reclen)
.field("d_type", &self.d_type)
.field("d_namlen", &self.d_namlen)
// FIXME(openbsd): .field("d_name", &self.d_name)
// FIXME(debug): .field("d_name", &self.d_name)
.finish()
}
}
Expand Down Expand Up @@ -873,8 +873,8 @@ cfg_if! {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("lastlog")
.field("ll_time", &self.ll_time)
// FIXME(openbsd): .field("ll_line", &self.ll_line)
// FIXME(openbsd): .field("ll_host", &self.ll_host)
// FIXME(debug): .field("ll_line", &self.ll_line)
// FIXME(debug): .field("ll_host", &self.ll_host)
.finish()
}
}
Expand Down Expand Up @@ -913,9 +913,9 @@ cfg_if! {
impl fmt::Debug for utmp {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("utmp")
// FIXME(openbsd): .field("ut_line", &self.ut_line)
// FIXME(openbsd): .field("ut_name", &self.ut_name)
// FIXME(openbsd): .field("ut_host", &self.ut_host)
// FIXME(debug): .field("ut_line", &self.ut_line)
// FIXME(debug): .field("ut_name", &self.ut_name)
// FIXME(debug): .field("ut_host", &self.ut_host)
.field("ut_time", &self.ut_time)
.finish()
}
Expand Down Expand Up @@ -1048,10 +1048,10 @@ cfg_if! {
.field("f_namemax", &self.f_namemax)
.field("f_owner", &self.f_owner)
.field("f_ctime", &self.f_ctime)
// FIXME(openbsd): .field("f_fstypename", &self.f_fstypename)
// FIXME(openbsd): .field("f_mntonname", &self.f_mntonname)
// FIXME(openbsd): .field("f_mntfromname", &self.f_mntfromname)
// FIXME(openbsd): .field("f_mntfromspec", &self.f_mntfromspec)
// FIXME(debug): .field("f_fstypename", &self.f_fstypename)
// FIXME(debug): .field("f_mntonname", &self.f_mntonname)
// FIXME(debug): .field("f_mntfromname", &self.f_mntfromname)
// FIXME(debug): .field("f_mntfromspec", &self.f_mntfromspec)
.field("mount_info", &self.mount_info)
.finish()
}
Expand Down
4 changes: 2 additions & 2 deletions src/unix/bsd/netbsdlike/openbsd/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ cfg_if! {
.field("fx_rdp", &{ self.fx_rdp })
.field("fx_mxcsr", &{ self.fx_mxcsr })
.field("fx_mxcsr_mask", &{ self.fx_mxcsr_mask })
// FIXME(openbsd): .field("fx_st", &{self.fx_st})
// FIXME(openbsd): .field("fx_xmm", &{self.fx_xmm})
// FIXME(debug): .field("fx_st", &{self.fx_st})
// FIXME(debug): .field("fx_xmm", &{self.fx_xmm})
.finish()
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ cfg_if! {
f.debug_struct("sockaddr_un")
.field("sun_len", &self.sun_len)
.field("sun_family", &self.sun_family)
// FIXME(haiku): .field("sun_path", &self.sun_path)
// FIXME(debug): .field("sun_path", &self.sun_path)
.finish()
}
}
Expand Down Expand Up @@ -599,7 +599,7 @@ cfg_if! {
.field("ss_family", &self.ss_family)
.field("__ss_pad1", &self.__ss_pad1)
.field("__ss_pad2", &self.__ss_pad2)
// FIXME(haiku): .field("__ss_pad3", &self.__ss_pad3)
// FIXME(debug): .field("__ss_pad3", &self.__ss_pad3)
.finish()
}
}
Expand Down Expand Up @@ -636,7 +636,7 @@ cfg_if! {
.field("d_ino", &self.d_ino)
.field("d_pino", &self.d_pino)
.field("d_reclen", &self.d_reclen)
// FIXME(haiku): .field("d_name", &self.d_name)
// FIXME(debug): .field("d_name", &self.d_name)
.finish()
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/unix/haiku/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ cfg_if! {
.field("rdp", &self.rdp)
.field("mxcsr", &self.mxcsr)
.field("mscsr_mask", &self.mscsr_mask)
// FIXME(haiku): .field("_fpreg", &self._fpreg)
// FIXME(haiku): .field("_xmm", &self._xmm)
// FIXME(haiku): .field("_reserved_416_511", &self._reserved_416_511)
// FIXME(debug): .field("_fpreg", &self._fpreg)
// FIXME(debug): .field("_xmm", &self._xmm)
// FIXME(debug): .field("_reserved_416_511", &self._reserved_416_511)
.finish()
}
}
Expand Down Expand Up @@ -133,7 +133,7 @@ cfg_if! {
f.debug_struct("xstate_hdr")
.field("bv", &self.bv)
.field("xcomp_bv", &self.xcomp_bv)
// FIXME(haiku): .field("_reserved", &field._reserved)
// FIXME(debug): .field("_reserved", &field._reserved)
.finish()
}
}
Expand Down Expand Up @@ -162,7 +162,7 @@ cfg_if! {
f.debug_struct("savefpu")
.field("fp_fxsave", &self.fp_fxsave)
.field("fp_xstate", &self.fp_xstate)
// FIXME(haiku): .field("_fp_ymm", &field._fp_ymm)
// FIXME(debug): .field("_fp_ymm", &field._fp_ymm)
.finish()
}
}
Expand Down
14 changes: 7 additions & 7 deletions src/unix/nto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ cfg_if! {
f.debug_struct("sockaddr_un")
.field("sun_len", &self.sun_len)
.field("sun_family", &self.sun_family)
// FIXME(nto): .field("sun_path", &self.sun_path)
// FIXME(debug): .field("sun_path", &self.sun_path)
.finish()
}
}
Expand Down Expand Up @@ -1015,11 +1015,11 @@ cfg_if! {
impl fmt::Debug for utsname {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("utsname")
// FIXME(nto): .field("sysname", &self.sysname)
// FIXME(nto): .field("nodename", &self.nodename)
// FIXME(nto): .field("release", &self.release)
// FIXME(nto): .field("version", &self.version)
// FIXME(nto): .field("machine", &self.machine)
// FIXME(debug): .field("sysname", &self.sysname)
// FIXME(debug): .field("nodename", &self.nodename)
// FIXME(debug): .field("release", &self.release)
// FIXME(debug): .field("version", &self.version)
// FIXME(debug): .field("machine", &self.machine)
.finish()
}
}
Expand Down Expand Up @@ -1095,7 +1095,7 @@ cfg_if! {
.field("ss_family", &self.ss_family)
.field("__ss_pad1", &self.__ss_pad1)
.field("__ss_align", &self.__ss_align)
// FIXME: .field("__ss_pad2", &self.__ss_pad2)
// FIXME(debug): .field("__ss_pad2", &self.__ss_pad2)
.finish()
}
}
Expand Down
22 changes: 11 additions & 11 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ cfg_if! {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("sockaddr_un")
.field("sun_family", &self.sun_family)
// FIXME(solarish): .field("sun_path", &self.sun_path)
// FIXME(debug): .field("sun_path", &self.sun_path)
.finish()
}
}
Expand Down Expand Up @@ -631,11 +631,11 @@ cfg_if! {
impl fmt::Debug for utsname {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("utsname")
// FIXME(solarish): .field("sysname", &self.sysname)
// FIXME(solarish): .field("nodename", &self.nodename)
// FIXME(solarish): .field("release", &self.release)
// FIXME(solarish): .field("version", &self.version)
// FIXME(solarish): .field("machine", &self.machine)
// FIXME(debug): .field("sysname", &self.sysname)
// FIXME(debug): .field("nodename", &self.nodename)
// FIXME(debug): .field("release", &self.release)
// FIXME(debug): .field("version", &self.version)
// FIXME(debug): .field("machine", &self.machine)
.finish()
}
}
Expand All @@ -661,7 +661,7 @@ cfg_if! {
impl fmt::Debug for fd_set {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("fd_set")
// FIXME: .field("fds_bits", &self.fds_bits)
// FIXME(debug): .field("fds_bits", &self.fds_bits)
.finish()
}
}
Expand Down Expand Up @@ -690,7 +690,7 @@ cfg_if! {
.field("ss_family", &self.ss_family)
.field("__ss_pad1", &self.__ss_pad1)
.field("__ss_align", &self.__ss_align)
// FIXME(solarish): .field("__ss_pad2", &self.__ss_pad2)
// FIXME(debug): .field("__ss_pad2", &self.__ss_pad2)
.finish()
}
}
Expand Down Expand Up @@ -759,7 +759,7 @@ cfg_if! {
.field("si_signo", &self.si_signo)
.field("si_code", &self.si_code)
.field("si_errno", &self.si_errno)
// FIXME(solarish): .field("__pad", &self.__pad)
// FIXME(debug): .field("__pad", &self.__pad)
.finish()
}
}
Expand Down Expand Up @@ -802,7 +802,7 @@ cfg_if! {
.field("sdl_nlen", &self.sdl_nlen)
.field("sdl_alen", &self.sdl_alen)
.field("sdl_slen", &self.sdl_slen)
// FIXME(solarish): .field("sdl_data", &self.sdl_data)
// FIXME(debug): .field("sdl_data", &self.sdl_data)
.finish()
}
}
Expand Down Expand Up @@ -861,7 +861,7 @@ cfg_if! {
impl hash::Hash for pad128_t {
fn hash<H: hash::Hasher>(&self, state: &mut H) {
unsafe {
// FIXME: state.write_i64(self._q as i64);
// FIXME(solarish): state.write_i64(self._q as i64);
self._l.hash(state);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl Clone for FILE {
}
}
#[cfg_attr(feature = "extra_traits", derive(Debug))]
pub enum fpos_t {} // FIXME(struct): fill this out with a struct
pub enum fpos_t {} // FIXME(windows): fill this out with a struct
impl Copy for fpos_t {}
impl Clone for fpos_t {
fn clone(&self) -> fpos_t {
Expand Down

0 comments on commit f5f94f1

Please sign in to comment.