@@ -4109,29 +4109,29 @@ fn test_linux(target: &str) {
4109
4109
| "CANXL_XLF"
4110
4110
=> true ,
4111
4111
4112
- // FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4112
+ // FIXME(linux) : Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4113
4113
| "RTNLGRP_MCTP_IFADDR" // linux v5.17+
4114
4114
| "RTNLGRP_TUNNEL" // linux v5.18+
4115
4115
| "RTNLGRP_STATS" // linux v5.18+
4116
4116
=> true ,
4117
4117
4118
- // FIXME: The below is no longer const in glibc 2.34:
4118
+ // FIXME(linux) : The below is no longer const in glibc 2.34:
4119
4119
// https://github.com/bminor/glibc/commit/5d98a7dae955bafa6740c26eaba9c86060ae0344
4120
4120
| "PTHREAD_STACK_MIN"
4121
4121
| "SIGSTKSZ"
4122
4122
| "MINSIGSTKSZ"
4123
4123
if gnu => true ,
4124
4124
4125
- // FIXME: Linux >= 5.16:
4125
+ // FIXME(linux) : Linux >= 5.16:
4126
4126
// https://github.com/torvalds/linux/commit/42df6e1d221dddc0f2acf2be37e68d553ad65f96
4127
4127
"NF_NETDEV_EGRESS" if sparc64 => true ,
4128
4128
// value changed
4129
4129
"NF_NETDEV_NUMHOOKS" if sparc64 => true ,
4130
4130
4131
- // FIXME: requires Linux >= v5.8
4131
+ // FIXME(linux) : requires Linux >= v5.8
4132
4132
"IF_LINK_MODE_TESTING" if sparc64 => true ,
4133
4133
4134
- // FIXME: Requires >= 6.3 kernel headers
4134
+ // FIXME(linux) : Requires >= 6.3 kernel headers
4135
4135
"MFD_EXEC" | "MFD_NOEXEC_SEAL" if sparc64 => true ,
4136
4136
4137
4137
// kernel 6.1 minimum
@@ -4140,7 +4140,7 @@ fn test_linux(target: &str) {
4140
4140
// kernel 6.2 minimum
4141
4141
"TUN_F_USO4" | "TUN_F_USO6" | "IFF_NO_CARRIER" => true ,
4142
4142
4143
- // FIXME: Requires more recent kernel headers
4143
+ // FIXME(linux) : Requires more recent kernel headers
4144
4144
| "IFLA_PARENT_DEV_NAME" // linux v5.13+
4145
4145
| "IFLA_PARENT_DEV_BUS_NAME" // linux v5.13+
4146
4146
| "IFLA_GRO_MAX_SIZE" // linux v5.16+
@@ -4153,10 +4153,10 @@ fn test_linux(target: &str) {
4153
4153
4154
4154
// kernel 6.5 minimum
4155
4155
"MOVE_MOUNT_BENEATH" => true ,
4156
- // FIXME: Requires linux 6.1
4156
+ // FIXME(linux) : Requires linux 6.1
4157
4157
"ALG_SET_KEY_BY_KEY_SERIAL" | "ALG_SET_DRBG_ENTROPY" => true ,
4158
4158
4159
- // FIXME: Requires more recent kernel headers
4159
+ // FIXME(linux) : Requires more recent kernel headers
4160
4160
| "FAN_FS_ERROR" // linux v5.16+
4161
4161
| "FAN_RENAME" // linux v5.17+
4162
4162
| "FAN_REPORT_TARGET_FID" // linux v5.17+
@@ -4184,18 +4184,18 @@ fn test_linux(target: &str) {
4184
4184
| "FAN_EPIDFD"
4185
4185
if musl => true ,
4186
4186
4187
- // FIXME: Requires linux 6.5
4187
+ // FIXME(linux) : Requires linux 6.5
4188
4188
"NFT_MSG_MAX" => true ,
4189
4189
4190
- // FIXME: Requires >= 6.6 kernel headers.
4190
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4191
4191
"XDP_USE_SG"
4192
4192
| "XDP_PKT_CONTD"
4193
4193
=>
4194
4194
{
4195
4195
true
4196
4196
}
4197
4197
4198
- // FIXME: Requires >= 6.8 kernel headers.
4198
+ // FIXME(linux) : Requires >= 6.8 kernel headers.
4199
4199
"XDP_UMEM_TX_SW_CSUM"
4200
4200
| "XDP_TXMD_FLAGS_TIMESTAMP"
4201
4201
| "XDP_TXMD_FLAGS_CHECKSUM"
@@ -4205,20 +4205,20 @@ fn test_linux(target: &str) {
4205
4205
true
4206
4206
}
4207
4207
4208
- // FIXME: Requires >= 6.11 kernel headers.
4208
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4209
4209
"XDP_UMEM_TX_METADATA_LEN"
4210
4210
=>
4211
4211
{
4212
4212
true
4213
4213
}
4214
4214
4215
- // FIXME: Requires >= 6.6 kernel headers.
4215
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4216
4216
"SYS_fchmodat2" => true ,
4217
4217
4218
- // FIXME: Requires >= 6.10 kernel headers.
4218
+ // FIXME(linux) : Requires >= 6.10 kernel headers.
4219
4219
"SYS_mseal" => true ,
4220
4220
4221
- // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4221
+ // FIXME(linux) : seems to not be available all the time (from <include/linux/sched.h>:
4222
4222
"PF_VCPU"
4223
4223
| "PF_IDLE"
4224
4224
| "PF_EXITING"
@@ -4247,11 +4247,11 @@ fn test_linux(target: &str) {
4247
4247
| "PF_BLOCK_TS"
4248
4248
| "PF_SUSPEND_TASK" => true ,
4249
4249
4250
- // FIXME: Requires >= 6.9 kernel headers.
4250
+ // FIXME(linux) : Requires >= 6.9 kernel headers.
4251
4251
"EPIOCSPARAMS"
4252
4252
| "EPIOCGPARAMS" => true ,
4253
4253
4254
- // FIXME: Requires >= 6.11 kernel headers.
4254
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4255
4255
"MAP_DROPPABLE" => true ,
4256
4256
4257
4257
_ => false ,
@@ -4279,7 +4279,7 @@ fn test_linux(target: &str) {
4279
4279
// test the XSI version below.
4280
4280
"strerror_r" => true ,
4281
4281
4282
- // FIXME: Our API is unsound. The Rust API allows aliasing
4282
+ // FIXME(linux) : Our API is unsound. The Rust API allows aliasing
4283
4283
// pointers, but the C API requires pointers not to alias.
4284
4284
// We should probably be at least using `&`/`&mut` here, see:
4285
4285
// https://github.com/gnzlbg/ctest/issues/68
@@ -4290,10 +4290,10 @@ fn test_linux(target: &str) {
4290
4290
// Needs glibc 2.35 or later.
4291
4291
"posix_spawn_file_actions_addtcsetpgrp_np" if gnu && sparc64 => true ,
4292
4292
4293
- // FIXME: Deprecated since glibc 2.30. Remove fn once upstream does.
4293
+ // FIXME(linux) : Deprecated since glibc 2.30. Remove fn once upstream does.
4294
4294
"sysctl" if gnu => true ,
4295
4295
4296
- // FIXME: It now takes c_void instead of timezone since glibc 2.31.
4296
+ // FIXME(linux) : It now takes c_void instead of timezone since glibc 2.31.
4297
4297
"gettimeofday" if gnu => true ,
4298
4298
4299
4299
// These are all implemented as static inline functions in uclibc, so
@@ -4321,7 +4321,7 @@ fn test_linux(target: &str) {
4321
4321
// assume it's a int instead.
4322
4322
"getnameinfo" if uclibc => true ,
4323
4323
4324
- // FIXME: This needs musl 1.2.2 or later.
4324
+ // FIXME(musl) : This needs musl 1.2.2 or later.
4325
4325
"gettid" if musl => true ,
4326
4326
4327
4327
// Needs glibc 2.33 or later.
@@ -4357,7 +4357,7 @@ fn test_linux(target: &str) {
4357
4357
"posix_basename" if gnu => true ,
4358
4358
"gnu_basename" if gnu => true ,
4359
4359
4360
- // FIXME: function pointers changed since Ubuntu 23.10
4360
+ // FIXME(linux) : function pointers changed since Ubuntu 23.10
4361
4361
"strtol" | "strtoll" | "strtoul" | "strtoull" | "fscanf" | "scanf" | "sscanf" => true ,
4362
4362
4363
4363
// Added in musl 1.2.5
@@ -4419,19 +4419,19 @@ fn test_linux(target: &str) {
4419
4419
field == "ssi_syscall" ||
4420
4420
field == "ssi_call_addr" ||
4421
4421
field == "ssi_arch" ) ) ||
4422
- // FIXME: After musl 1.1.24, it have only one field `sched_priority`,
4422
+ // FIXME(musl) : After musl 1.1.24, it have only one field `sched_priority`,
4423
4423
// while other fields become reserved.
4424
4424
( struct_ == "sched_param" && [
4425
4425
"sched_ss_low_priority" ,
4426
4426
"sched_ss_repl_period" ,
4427
4427
"sched_ss_init_budget" ,
4428
4428
"sched_ss_max_repl" ,
4429
4429
] . contains ( & field) && musl) ||
4430
- // FIXME: After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4430
+ // FIXME(musl) : After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4431
4431
( struct_ == "ipc_perm" && field == "__seq" && aarch64_musl) ||
4432
4432
// glibc uses unnamed fields here and Rust doesn't support that yet
4433
4433
( struct_ == "timex" && field. starts_with ( "__unused" ) ) ||
4434
- // FIXME: It now takes mode_t since glibc 2.31 on some targets.
4434
+ // FIXME(linux) : It now takes mode_t since glibc 2.31 on some targets.
4435
4435
( struct_ == "ipc_perm" && field == "mode"
4436
4436
&& ( ( x86_64 || i686 || arm || riscv64) && gnu || x86_64_gnux32)
4437
4437
) ||
@@ -4480,9 +4480,9 @@ fn test_linux(target: &str) {
4480
4480
} ) ;
4481
4481
4482
4482
cfg. skip_roundtrip ( move |s| match s {
4483
- // FIXME:
4483
+ // FIXME(ctest) :
4484
4484
"mcontext_t" if s390x => true ,
4485
- // FIXME: This is actually a union.
4485
+ // FIXME(union) : This is actually a union.
4486
4486
"fpreg_t" if s390x => true ,
4487
4487
4488
4488
// The test doesn't work on some env:
@@ -4516,7 +4516,7 @@ fn test_linux(target: &str) {
4516
4516
"fanotify_event_info_fid" => true ,
4517
4517
"cmsghdr" => true ,
4518
4518
4519
- // FIXME: the call ABI of max_align_t is incorrect on these platforms:
4519
+ // FIXME(linux) : the call ABI of max_align_t is incorrect on these platforms:
4520
4520
"max_align_t" if i686 || ppc64 => true ,
4521
4521
4522
4522
_ => false ,
@@ -4847,13 +4847,13 @@ fn test_haiku(target: &str) {
4847
4847
return true ;
4848
4848
}
4849
4849
match ty {
4850
- // FIXME: actually a union
4850
+ // FIXME(union) : actually a union
4851
4851
"sigval" => true ,
4852
- // FIXME: locale_t does not exist on Haiku
4852
+ // FIXME(haiku) : locale_t does not exist on Haiku
4853
4853
"locale_t" => true ,
4854
- // FIXME: rusage has a different layout on Haiku
4854
+ // FIXME(haiku) : rusage has a different layout on Haiku
4855
4855
"rusage" => true ,
4856
- // FIXME? : complains that rust aligns on 4 byte boundary, but
4856
+ // FIXME(haiku) : complains that rust aligns on 4 byte boundary, but
4857
4857
// Haiku does not align it at all.
4858
4858
"in6_addr" => true ,
4859
4859
// The d_name attribute is an array of 1 on Haiku, with the
@@ -4878,7 +4878,7 @@ fn test_haiku(target: &str) {
4878
4878
4879
4879
cfg. skip_type ( move |ty| {
4880
4880
match ty {
4881
- // FIXME: locale_t does not exist on Haiku
4881
+ // FIXME(haiku) : locale_t does not exist on Haiku
4882
4882
"locale_t" => true ,
4883
4883
// These cause errors, to be reviewed in the future
4884
4884
"sighandler_t" => true ,
@@ -4893,7 +4893,7 @@ fn test_haiku(target: &str) {
4893
4893
cfg. skip_fn ( move |name| {
4894
4894
// skip those that are manually verified
4895
4895
match name {
4896
- // FIXME: does not exist on haiku
4896
+ // FIXME(haiku) : does not exist on haiku
4897
4897
"open_wmemstream" => true ,
4898
4898
"mlockall" | "munlockall" => true ,
4899
4899
"tcgetsid" => true ,
@@ -4917,7 +4917,7 @@ fn test_haiku(target: &str) {
4917
4917
4918
4918
cfg. skip_const ( move |name| {
4919
4919
match name {
4920
- // FIXME: these constants do not exist on Haiku
4920
+ // FIXME(haiku) : these constants do not exist on Haiku
4921
4921
"DT_UNKNOWN" | "DT_FIFO" | "DT_CHR" | "DT_DIR" | "DT_BLK" | "DT_REG" | "DT_LNK"
4922
4922
| "DT_SOCK" => true ,
4923
4923
"USRQUOTA" | "GRPQUOTA" => true ,
@@ -4943,7 +4943,7 @@ fn test_haiku(target: &str) {
4943
4943
4944
4944
cfg. skip_field ( move |struct_, field| {
4945
4945
match ( struct_, field) {
4946
- // FIXME: the stat struct actually has timespec members, whereas
4946
+ // FIXME(time) : the stat struct actually has timespec members, whereas
4947
4947
// the current representation has these unpacked.
4948
4948
( "stat" , "st_atime" ) => true ,
4949
4949
( "stat" , "st_atime_nsec" ) => true ,
@@ -4973,7 +4973,7 @@ fn test_haiku(target: &str) {
4973
4973
} ) ;
4974
4974
4975
4975
cfg. skip_roundtrip ( move |s| match s {
4976
- // FIXME: for some reason the roundtrip check fails for cpu_info
4976
+ // FIXME(ctest) : for some reason the roundtrip check fails for cpu_info
4977
4977
"cpu_info" => true ,
4978
4978
_ => false ,
4979
4979
} ) ;
0 commit comments