@@ -4196,26 +4196,26 @@ fn test_linux(target: &str) {
4196
4196
| "CANXL_XLF"
4197
4197
=> true ,
4198
4198
4199
- // FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4199
+ // FIXME(linux) : Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4200
4200
| "RTNLGRP_MCTP_IFADDR" // linux v5.17+
4201
4201
| "RTNLGRP_TUNNEL" // linux v5.18+
4202
4202
| "RTNLGRP_STATS" // linux v5.18+
4203
4203
=> true ,
4204
4204
4205
- // FIXME: The below is no longer const in glibc 2.34:
4205
+ // FIXME(linux) : The below is no longer const in glibc 2.34:
4206
4206
// https://github.com/bminor/glibc/commit/5d98a7dae955bafa6740c26eaba9c86060ae0344
4207
4207
| "PTHREAD_STACK_MIN"
4208
4208
| "SIGSTKSZ"
4209
4209
| "MINSIGSTKSZ"
4210
4210
if gnu => true ,
4211
4211
4212
- // FIXME: Linux >= 5.16:
4212
+ // FIXME(linux) : Linux >= 5.16:
4213
4213
// https://github.com/torvalds/linux/commit/42df6e1d221dddc0f2acf2be37e68d553ad65f96
4214
4214
"NF_NETDEV_EGRESS" if sparc64 => true ,
4215
4215
// value changed
4216
4216
"NF_NETDEV_NUMHOOKS" if sparc64 => true ,
4217
4217
4218
- // FIXME: requires Linux >= v5.8
4218
+ // FIXME(linux) : requires Linux >= v5.8
4219
4219
"IF_LINK_MODE_TESTING" if sparc64 => true ,
4220
4220
4221
4221
// DIFF(main): fixed in 1.0 with e9abac9ac2
@@ -4227,7 +4227,7 @@ fn test_linux(target: &str) {
4227
4227
// kernel 6.2 minimum
4228
4228
"TUN_F_USO4" | "TUN_F_USO6" | "IFF_NO_CARRIER" => true ,
4229
4229
4230
- // FIXME: Requires more recent kernel headers
4230
+ // FIXME(linux) : Requires more recent kernel headers
4231
4231
| "IFLA_PARENT_DEV_NAME" // linux v5.13+
4232
4232
| "IFLA_PARENT_DEV_BUS_NAME" // linux v5.13+
4233
4233
| "IFLA_GRO_MAX_SIZE" // linux v5.16+
@@ -4240,10 +4240,10 @@ fn test_linux(target: &str) {
4240
4240
4241
4241
// kernel 6.5 minimum
4242
4242
"MOVE_MOUNT_BENEATH" => true ,
4243
- // FIXME: Requires linux 6.1
4243
+ // FIXME(linux) : Requires linux 6.1
4244
4244
"ALG_SET_KEY_BY_KEY_SERIAL" | "ALG_SET_DRBG_ENTROPY" => true ,
4245
4245
4246
- // FIXME: Requires more recent kernel headers
4246
+ // FIXME(linux) : Requires more recent kernel headers
4247
4247
| "FAN_FS_ERROR" // linux v5.16+
4248
4248
| "FAN_RENAME" // linux v5.17+
4249
4249
| "FAN_REPORT_TARGET_FID" // linux v5.17+
@@ -4271,18 +4271,18 @@ fn test_linux(target: &str) {
4271
4271
| "FAN_EPIDFD"
4272
4272
if musl => true ,
4273
4273
4274
- // FIXME: Requires linux 6.5
4274
+ // FIXME(linux) : Requires linux 6.5
4275
4275
"NFT_MSG_MAX" => true ,
4276
4276
4277
- // FIXME: Requires >= 6.6 kernel headers.
4277
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4278
4278
"XDP_USE_SG"
4279
4279
| "XDP_PKT_CONTD"
4280
4280
=>
4281
4281
{
4282
4282
true
4283
4283
}
4284
4284
4285
- // FIXME: Requires >= 6.8 kernel headers.
4285
+ // FIXME(linux) : Requires >= 6.8 kernel headers.
4286
4286
"XDP_UMEM_TX_SW_CSUM"
4287
4287
| "XDP_TXMD_FLAGS_TIMESTAMP"
4288
4288
| "XDP_TXMD_FLAGS_CHECKSUM"
@@ -4292,20 +4292,20 @@ fn test_linux(target: &str) {
4292
4292
true
4293
4293
}
4294
4294
4295
- // FIXME: Requires >= 6.11 kernel headers.
4295
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4296
4296
"XDP_UMEM_TX_METADATA_LEN"
4297
4297
=>
4298
4298
{
4299
4299
true
4300
4300
}
4301
4301
4302
- // FIXME: Requires >= 6.6 kernel headers.
4302
+ // FIXME(linux) : Requires >= 6.6 kernel headers.
4303
4303
"SYS_fchmodat2" => true ,
4304
4304
4305
- // FIXME: Requires >= 6.10 kernel headers.
4305
+ // FIXME(linux) : Requires >= 6.10 kernel headers.
4306
4306
"SYS_mseal" => true ,
4307
4307
4308
- // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4308
+ // FIXME(linux) : seems to not be available all the time (from <include/linux/sched.h>:
4309
4309
"PF_VCPU"
4310
4310
| "PF_IDLE"
4311
4311
| "PF_EXITING"
@@ -4334,11 +4334,11 @@ fn test_linux(target: &str) {
4334
4334
| "PF_BLOCK_TS"
4335
4335
| "PF_SUSPEND_TASK" => true ,
4336
4336
4337
- // FIXME: Requires >= 6.9 kernel headers.
4337
+ // FIXME(linux) : Requires >= 6.9 kernel headers.
4338
4338
"EPIOCSPARAMS"
4339
4339
| "EPIOCGPARAMS" => true ,
4340
4340
4341
- // FIXME: Requires >= 6.11 kernel headers.
4341
+ // FIXME(linux) : Requires >= 6.11 kernel headers.
4342
4342
"MAP_DROPPABLE" => true ,
4343
4343
4344
4344
// FIXME(linux): Requires >= 6.2 kernel headers.
@@ -4375,7 +4375,7 @@ fn test_linux(target: &str) {
4375
4375
// test the XSI version below.
4376
4376
"strerror_r" => true ,
4377
4377
4378
- // FIXME: Our API is unsound. The Rust API allows aliasing
4378
+ // FIXME(linux) : Our API is unsound. The Rust API allows aliasing
4379
4379
// pointers, but the C API requires pointers not to alias.
4380
4380
// We should probably be at least using `&`/`&mut` here, see:
4381
4381
// https://github.com/gnzlbg/ctest/issues/68
@@ -4386,10 +4386,10 @@ fn test_linux(target: &str) {
4386
4386
// Needs glibc 2.35 or later.
4387
4387
"posix_spawn_file_actions_addtcsetpgrp_np" if gnu && sparc64 => true ,
4388
4388
4389
- // FIXME: Deprecated since glibc 2.30. Remove fn once upstream does.
4389
+ // FIXME(linux) : Deprecated since glibc 2.30. Remove fn once upstream does.
4390
4390
"sysctl" if gnu => true ,
4391
4391
4392
- // FIXME: It now takes c_void instead of timezone since glibc 2.31.
4392
+ // FIXME(linux) : It now takes c_void instead of timezone since glibc 2.31.
4393
4393
"gettimeofday" if gnu => true ,
4394
4394
4395
4395
// These are all implemented as static inline functions in uclibc, so
@@ -4417,7 +4417,7 @@ fn test_linux(target: &str) {
4417
4417
// assume it's a int instead.
4418
4418
"getnameinfo" if uclibc => true ,
4419
4419
4420
- // FIXME: This needs musl 1.2.2 or later.
4420
+ // FIXME(musl) : This needs musl 1.2.2 or later.
4421
4421
"gettid" if musl => true ,
4422
4422
4423
4423
// Needs glibc 2.33 or later.
@@ -4453,7 +4453,7 @@ fn test_linux(target: &str) {
4453
4453
"posix_basename" if gnu => true ,
4454
4454
"gnu_basename" if gnu => true ,
4455
4455
4456
- // FIXME: function pointers changed since Ubuntu 23.10
4456
+ // FIXME(linux) : function pointers changed since Ubuntu 23.10
4457
4457
"strtol" | "strtoll" | "strtoul" | "strtoull" | "fscanf" | "scanf" | "sscanf" => true ,
4458
4458
4459
4459
// Added in musl 1.2.5
@@ -4515,19 +4515,19 @@ fn test_linux(target: &str) {
4515
4515
field == "ssi_syscall" ||
4516
4516
field == "ssi_call_addr" ||
4517
4517
field == "ssi_arch" ) ) ||
4518
- // FIXME: After musl 1.1.24, it have only one field `sched_priority`,
4518
+ // FIXME(musl) : After musl 1.1.24, it have only one field `sched_priority`,
4519
4519
// while other fields become reserved.
4520
4520
( struct_ == "sched_param" && [
4521
4521
"sched_ss_low_priority" ,
4522
4522
"sched_ss_repl_period" ,
4523
4523
"sched_ss_init_budget" ,
4524
4524
"sched_ss_max_repl" ,
4525
4525
] . contains ( & field) && musl) ||
4526
- // FIXME: After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4526
+ // FIXME(musl) : After musl 1.1.24, the type becomes `int` instead of `unsigned short`.
4527
4527
( struct_ == "ipc_perm" && field == "__seq" && aarch64_musl) ||
4528
4528
// glibc uses unnamed fields here and Rust doesn't support that yet
4529
4529
( struct_ == "timex" && field. starts_with ( "__unused" ) ) ||
4530
- // FIXME: It now takes mode_t since glibc 2.31 on some targets.
4530
+ // FIXME(linux) : It now takes mode_t since glibc 2.31 on some targets.
4531
4531
( struct_ == "ipc_perm" && field == "mode"
4532
4532
&& ( ( x86_64 || i686 || arm || riscv64) && gnu || x86_64_gnux32)
4533
4533
) ||
@@ -4574,9 +4574,9 @@ fn test_linux(target: &str) {
4574
4574
} ) ;
4575
4575
4576
4576
cfg. skip_roundtrip ( move |s| match s {
4577
- // FIXME:
4577
+ // FIXME(1.0) :
4578
4578
"mcontext_t" if s390x => true ,
4579
- // FIXME: This is actually a union.
4579
+ // FIXME(union) : This is actually a union.
4580
4580
"fpreg_t" if s390x => true ,
4581
4581
4582
4582
// The test doesn't work on some env:
@@ -4610,7 +4610,7 @@ fn test_linux(target: &str) {
4610
4610
"fanotify_event_info_fid" => true ,
4611
4611
"cmsghdr" => true ,
4612
4612
4613
- // FIXME: the call ABI of max_align_t is incorrect on these platforms:
4613
+ // FIXME(linux) : the call ABI of max_align_t is incorrect on these platforms:
4614
4614
"max_align_t" if i686 || ppc64 => true ,
4615
4615
4616
4616
_ => false ,
@@ -4941,13 +4941,13 @@ fn test_haiku(target: &str) {
4941
4941
return true ;
4942
4942
}
4943
4943
match ty {
4944
- // FIXME: actually a union
4944
+ // FIXME(union) : actually a union
4945
4945
"sigval" => true ,
4946
- // FIXME: locale_t does not exist on Haiku
4946
+ // FIXME(haiku) : locale_t does not exist on Haiku
4947
4947
"locale_t" => true ,
4948
- // FIXME: rusage has a different layout on Haiku
4948
+ // FIXME(haiku) : rusage has a different layout on Haiku
4949
4949
"rusage" => true ,
4950
- // FIXME? : complains that rust aligns on 4 byte boundary, but
4950
+ // FIXME(haiku) : complains that rust aligns on 4 byte boundary, but
4951
4951
// Haiku does not align it at all.
4952
4952
"in6_addr" => true ,
4953
4953
// The d_name attribute is an array of 1 on Haiku, with the
@@ -4972,7 +4972,7 @@ fn test_haiku(target: &str) {
4972
4972
4973
4973
cfg. skip_type ( move |ty| {
4974
4974
match ty {
4975
- // FIXME: locale_t does not exist on Haiku
4975
+ // FIXME(haiku) : locale_t does not exist on Haiku
4976
4976
"locale_t" => true ,
4977
4977
// These cause errors, to be reviewed in the future
4978
4978
"sighandler_t" => true ,
@@ -4987,9 +4987,15 @@ fn test_haiku(target: &str) {
4987
4987
cfg. skip_fn ( move |name| {
4988
4988
// skip those that are manually verified
4989
4989
match name {
4990
+ <<<<<<< HEAD
4990
4991
// FIXME: https://github.com/rust-lang/libc/issues/1272
4991
4992
"execv" | "execve" | "execvp" | "execvpe" => true,
4992
4993
// FIXME: does not exist on haiku
4994
+ ||||||| parent of 67 d2ead29 ( chore : add labels to FIXMEs )
4995
+ // FIXME: does not exist on haiku
4996
+ =======
4997
+ // FIXME(haiku): does not exist on haiku
4998
+ >>>>>>> 67 d2ead29 ( chore: add labels to FIXMEs )
4993
4999
"open_wmemstream" => true,
4994
5000
"mlockall" | "munlockall" => true,
4995
5001
"tcgetsid" => true,
@@ -5013,7 +5019,7 @@ fn test_haiku(target: &str) {
5013
5019
5014
5020
cfg. skip_const ( move |name| {
5015
5021
match name {
5016
- // FIXME: these constants do not exist on Haiku
5022
+ // FIXME(haiku) : these constants do not exist on Haiku
5017
5023
"DT_UNKNOWN" | "DT_FIFO" | "DT_CHR" | "DT_DIR" | "DT_BLK" | "DT_REG" | "DT_LNK"
5018
5024
| "DT_SOCK" => true ,
5019
5025
"USRQUOTA" | "GRPQUOTA" => true ,
@@ -5039,7 +5045,7 @@ fn test_haiku(target: &str) {
5039
5045
5040
5046
cfg. skip_field ( move |struct_, field| {
5041
5047
match ( struct_, field) {
5042
- // FIXME: the stat struct actually has timespec members, whereas
5048
+ // FIXME(time) : the stat struct actually has timespec members, whereas
5043
5049
// the current representation has these unpacked.
5044
5050
( "stat" , "st_atime" ) => true ,
5045
5051
( "stat" , "st_atime_nsec" ) => true ,
@@ -5069,7 +5075,7 @@ fn test_haiku(target: &str) {
5069
5075
} ) ;
5070
5076
5071
5077
cfg. skip_roundtrip ( move |s| match s {
5072
- // FIXME: for some reason the roundtrip check fails for cpu_info
5078
+ // FIXME(1.0) : for some reason the roundtrip check fails for cpu_info
5073
5079
"cpu_info" => true ,
5074
5080
_ => false ,
5075
5081
} ) ;
0 commit comments