@@ -4115,29 +4115,29 @@ fn test_linux(target: &str) {
4115
4115
| "CANXL_XLF"
4116
4116
=> true ,
4117
4117
4118
- // FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4118
+ // FIXME(linux) : Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4119
4119
| "RTNLGRP_MCTP_IFADDR" // linux v5.17+
4120
4120
| "RTNLGRP_TUNNEL" // linux v5.18+
4121
4121
| "RTNLGRP_STATS" // linux v5.18+
4122
4122
=> true ,
4123
4123
4124
- // FIXME: The below is no longer const in glibc 2.34:
4124
+ // FIXME(linux) : The below is no longer const in glibc 2.34:
4125
4125
// https://github.com/bminor/glibc/commit/5d98a7dae955bafa6740c26eaba9c86060ae0344
4126
4126
| "PTHREAD_STACK_MIN"
4127
4127
| "SIGSTKSZ"
4128
4128
| "MINSIGSTKSZ"
4129
4129
if gnu => true ,
4130
4130
4131
- // FIXME: Linux >= 5.16:
4131
+ // FIXME(linux) : Linux >= 5.16:
4132
4132
// https://github.com/torvalds/linux/commit/42df6e1d221dddc0f2acf2be37e68d553ad65f96
4133
4133
"NF_NETDEV_EGRESS" if sparc64 => true ,
4134
4134
// value changed
4135
4135
"NF_NETDEV_NUMHOOKS" if sparc64 => true ,
4136
4136
4137
- // FIXME: requires Linux >= v5.8
4137
+ // FIXME(linux) : requires Linux >= v5.8
4138
4138
"IF_LINK_MODE_TESTING" if sparc64 => true ,
4139
4139
4140
- // FIXME: Requires >= 6.3 kernel headers
4140
+ // FIXME(linux) : Requires >= 6.3 kernel headers
4141
4141
"MFD_EXEC" | "MFD_NOEXEC_SEAL" if sparc64 => true ,
4142
4142
4143
4143
// kernel 6.1 minimum
@@ -4146,7 +4146,7 @@ fn test_linux(target: &str) {
4146
4146
// kernel 6.2 minimum
4147
4147
"TUN_F_USO4" | "TUN_F_USO6" | "IFF_NO_CARRIER" => true ,
4148
4148
4149
- // FIXME: Requires more recent kernel headers
4149
+ // FIXME(linux) : Requires more recent kernel headers
4150
4150
| "IFLA_PARENT_DEV_NAME" // linux v5.13+
4151
4151
| "IFLA_PARENT_DEV_BUS_NAME" // linux v5.13+
4152
4152
| "IFLA_GRO_MAX_SIZE" // linux v5.16+
@@ -4159,10 +4159,10 @@ fn test_linux(target: &str) {
4159
4159
4160
4160
// kernel 6.5 minimum
4161
4161
"MOVE_MOUNT_BENEATH" => true ,
4162
- // FIXME: Requires linux 6.1
4162
+ // FIXME(linux) : Requires linux 6.1
4163
4163
"ALG_SET_KEY_BY_KEY_SERIAL" | "ALG_SET_DRBG_ENTROPY" => true ,
4164
4164
4165
- // FIXME: Requires more recent kernel headers
4165
+ // FIXME(linux) : Requires more recent kernel headers
4166
4166
| "FAN_FS_ERROR" // linux v5.16+
4167
4167
| "FAN_RENAME" // linux v5.17+
4168
4168
| "FAN_REPORT_TARGET_FID" // linux v5.17+
@@ -4190,18 +4190,18 @@ fn test_linux(target: &str) {
4190
4190
| "FAN_EPIDFD"
4191
4191
if musl => true ,
4192
4192
4193
- // FIXME: Requires linux 6.5
4193
+ // FIXME(linux) : Requires linux 6.5
4194
4194
"NFT_MSG_MAX" => true ,
4195
4195
4196
- // FIXME: Requires >= 6.6 kernel headers.
4196
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4197
4197
"XDP_USE_SG"
4198
4198
| "XDP_PKT_CONTD"
4199
4199
=>
4200
4200
{
4201
4201
true
4202
4202
}
4203
4203
4204
- // FIXME: Requires >= 6.8 kernel headers.
4204
+ // FIXME(linux) : Requires >= 6.8 kernel headers.
4205
4205
"XDP_UMEM_TX_SW_CSUM"
4206
4206
| "XDP_TXMD_FLAGS_TIMESTAMP"
4207
4207
| "XDP_TXMD_FLAGS_CHECKSUM"
@@ -4211,20 +4211,20 @@ fn test_linux(target: &str) {
4211
4211
true
4212
4212
}
4213
4213
4214
- // FIXME: Requires >= 6.11 kernel headers.
4214
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4215
4215
"XDP_UMEM_TX_METADATA_LEN"
4216
4216
=>
4217
4217
{
4218
4218
true
4219
4219
}
4220
4220
4221
- // FIXME: Requires >= 6.6 kernel headers.
4221
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4222
4222
"SYS_fchmodat2" => true ,
4223
4223
4224
- // FIXME: Requires >= 6.10 kernel headers.
4224
+ // FIXME(linux) : Requires >= 6.10 kernel headers.
4225
4225
"SYS_mseal" => true ,
4226
4226
4227
- // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4227
+ // FIXME(linux) : seems to not be available all the time (from <include/linux/sched.h>:
4228
4228
"PF_VCPU"
4229
4229
| "PF_IDLE"
4230
4230
| "PF_EXITING"
@@ -4253,11 +4253,11 @@ fn test_linux(target: &str) {
4253
4253
| "PF_BLOCK_TS"
4254
4254
| "PF_SUSPEND_TASK" => true ,
4255
4255
4256
- // FIXME: Requires >= 6.9 kernel headers.
4256
+ // FIXME(linux) : Requires >= 6.9 kernel headers.
4257
4257
"EPIOCSPARAMS"
4258
4258
| "EPIOCGPARAMS" => true ,
4259
4259
4260
- // FIXME: Requires >= 6.11 kernel headers.
4260
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4261
4261
"MAP_DROPPABLE" => true ,
4262
4262
4263
4263
_ => false ,
@@ -4285,7 +4285,7 @@ fn test_linux(target: &str) {
4285
4285
// test the XSI version below.
4286
4286
"strerror_r" => true ,
4287
4287
4288
- // FIXME: Our API is unsound. The Rust API allows aliasing
4288
+ // FIXME(linux) : Our API is unsound. The Rust API allows aliasing
4289
4289
// pointers, but the C API requires pointers not to alias.
4290
4290
// We should probably be at least using `&`/`&mut` here, see:
4291
4291
// https://github.com/gnzlbg/ctest/issues/68
@@ -4296,10 +4296,10 @@ fn test_linux(target: &str) {
4296
4296
// Needs glibc 2.35 or later.
4297
4297
"posix_spawn_file_actions_addtcsetpgrp_np" if gnu && sparc64 => true ,
4298
4298
4299
- // FIXME: Deprecated since glibc 2.30. Remove fn once upstream does.
4299
+ // FIXME(linux) : Deprecated since glibc 2.30. Remove fn once upstream does.
4300
4300
"sysctl" if gnu => true ,
4301
4301
4302
- // FIXME: It now takes c_void instead of timezone since glibc 2.31.
4302
+ // FIXME(linux) : It now takes c_void instead of timezone since glibc 2.31.
4303
4303
"gettimeofday" if gnu => true ,
4304
4304
4305
4305
// These are all implemented as static inline functions in uclibc, so
@@ -4327,7 +4327,7 @@ fn test_linux(target: &str) {
4327
4327
// assume it's a int instead.
4328
4328
"getnameinfo" if uclibc => true ,
4329
4329
4330
- // FIXME: This needs musl 1.2.2 or later.
4330
+ // FIXME(musl) : This needs musl 1.2.2 or later.
4331
4331
"gettid" if musl => true ,
4332
4332
4333
4333
// Needs glibc 2.33 or later.
@@ -4363,7 +4363,7 @@ fn test_linux(target: &str) {
4363
4363
"posix_basename" if gnu => true ,
4364
4364
"gnu_basename" if gnu => true ,
4365
4365
4366
- // FIXME: function pointers changed since Ubuntu 23.10
4366
+ // FIXME(linux) : function pointers changed since Ubuntu 23.10
4367
4367
"strtol" | "strtoll" | "strtoul" | "strtoull" | "fscanf" | "scanf" | "sscanf" => true ,
4368
4368
4369
4369
// Added in musl 1.2.5
@@ -4425,19 +4425,19 @@ fn test_linux(target: &str) {
4425
4425
field == "ssi_syscall" ||
4426
4426
field == "ssi_call_addr" ||
4427
4427
field == "ssi_arch" ) ) ||
4428
- // FIXME: After musl 1.1.24, it have only one field `sched_priority`,
4428
+ // FIXME(musl) : After musl 1.1.24, it have only one field `sched_priority`,
4429
4429
// while other fields become reserved.
4430
4430
( struct_ == "sched_param" && [
4431
4431
"sched_ss_low_priority" ,
4432
4432
"sched_ss_repl_period" ,
4433
4433
"sched_ss_init_budget" ,
4434
4434
"sched_ss_max_repl" ,
4435
4435
] . contains ( & field) && musl) ||
4436
- // FIXME: After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4436
+ // FIXME(musl) : After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4437
4437
( struct_ == "ipc_perm" && field == "__seq" && aarch64_musl) ||
4438
4438
// glibc uses unnamed fields here and Rust doesn't support that yet
4439
4439
( struct_ == "timex" && field. starts_with ( "__unused" ) ) ||
4440
- // FIXME: It now takes mode_t since glibc 2.31 on some targets.
4440
+ // FIXME(linux) : It now takes mode_t since glibc 2.31 on some targets.
4441
4441
( struct_ == "ipc_perm" && field == "mode"
4442
4442
&& ( ( x86_64 || i686 || arm || riscv64) && gnu || x86_64_gnux32)
4443
4443
) ||
@@ -4486,9 +4486,9 @@ fn test_linux(target: &str) {
4486
4486
} ) ;
4487
4487
4488
4488
cfg. skip_roundtrip ( move |s| match s {
4489
- // FIXME:
4489
+ // FIXME(1.0) :
4490
4490
"mcontext_t" if s390x => true ,
4491
- // FIXME: This is actually a union.
4491
+ // FIXME(union) : This is actually a union.
4492
4492
"fpreg_t" if s390x => true ,
4493
4493
4494
4494
// The test doesn't work on some env:
@@ -4522,7 +4522,7 @@ fn test_linux(target: &str) {
4522
4522
"fanotify_event_info_fid" => true ,
4523
4523
"cmsghdr" => true ,
4524
4524
4525
- // FIXME: the call ABI of max_align_t is incorrect on these platforms:
4525
+ // FIXME(linux) : the call ABI of max_align_t is incorrect on these platforms:
4526
4526
"max_align_t" if i686 || ppc64 => true ,
4527
4527
4528
4528
_ => false ,
@@ -4853,13 +4853,13 @@ fn test_haiku(target: &str) {
4853
4853
return true ;
4854
4854
}
4855
4855
match ty {
4856
- // FIXME: actually a union
4856
+ // FIXME(union) : actually a union
4857
4857
"sigval" => true ,
4858
- // FIXME: locale_t does not exist on Haiku
4858
+ // FIXME(haiku) : locale_t does not exist on Haiku
4859
4859
"locale_t" => true ,
4860
- // FIXME: rusage has a different layout on Haiku
4860
+ // FIXME(haiku) : rusage has a different layout on Haiku
4861
4861
"rusage" => true ,
4862
- // FIXME? : complains that rust aligns on 4 byte boundary, but
4862
+ // FIXME(haiku) : complains that rust aligns on 4 byte boundary, but
4863
4863
// Haiku does not align it at all.
4864
4864
"in6_addr" => true ,
4865
4865
// The d_name attribute is an array of 1 on Haiku, with the
@@ -4884,7 +4884,7 @@ fn test_haiku(target: &str) {
4884
4884
4885
4885
cfg. skip_type ( move |ty| {
4886
4886
match ty {
4887
- // FIXME: locale_t does not exist on Haiku
4887
+ // FIXME(haiku) : locale_t does not exist on Haiku
4888
4888
"locale_t" => true ,
4889
4889
// These cause errors, to be reviewed in the future
4890
4890
"sighandler_t" => true ,
@@ -4899,7 +4899,7 @@ fn test_haiku(target: &str) {
4899
4899
cfg. skip_fn ( move |name| {
4900
4900
// skip those that are manually verified
4901
4901
match name {
4902
- // FIXME: does not exist on haiku
4902
+ // FIXME(haiku) : does not exist on haiku
4903
4903
"open_wmemstream" => true ,
4904
4904
"mlockall" | "munlockall" => true ,
4905
4905
"tcgetsid" => true ,
@@ -4923,7 +4923,7 @@ fn test_haiku(target: &str) {
4923
4923
4924
4924
cfg. skip_const ( move |name| {
4925
4925
match name {
4926
- // FIXME: these constants do not exist on Haiku
4926
+ // FIXME(haiku) : these constants do not exist on Haiku
4927
4927
"DT_UNKNOWN" | "DT_FIFO" | "DT_CHR" | "DT_DIR" | "DT_BLK" | "DT_REG" | "DT_LNK"
4928
4928
| "DT_SOCK" => true ,
4929
4929
"USRQUOTA" | "GRPQUOTA" => true ,
@@ -4949,7 +4949,7 @@ fn test_haiku(target: &str) {
4949
4949
4950
4950
cfg. skip_field ( move |struct_, field| {
4951
4951
match ( struct_, field) {
4952
- // FIXME: the stat struct actually has timespec members, whereas
4952
+ // FIXME(time) : the stat struct actually has timespec members, whereas
4953
4953
// the current representation has these unpacked.
4954
4954
( "stat" , "st_atime" ) => true ,
4955
4955
( "stat" , "st_atime_nsec" ) => true ,
@@ -4979,7 +4979,7 @@ fn test_haiku(target: &str) {
4979
4979
} ) ;
4980
4980
4981
4981
cfg. skip_roundtrip ( move |s| match s {
4982
- // FIXME: for some reason the roundtrip check fails for cpu_info
4982
+ // FIXME(1.0) : for some reason the roundtrip check fails for cpu_info
4983
4983
"cpu_info" => true ,
4984
4984
_ => false ,
4985
4985
} ) ;
0 commit comments