Skip to content

Commit 843f220

Browse files
committed
fix: detailed comment about lio_listio
1 parent 6fb9c80 commit 843f220

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libc-test/build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,10 @@ fn test_solarish(target: &str) {
10321032
// excluded from the tests.
10331033
"getifaddrs" if is_illumos => true,
10341034

1035-
// FIXME: Unsound because `restrict`
1035+
// FIXME: Our API is unsound. The Rust API allows aliasing
1036+
// pointers, but the C API requires pointers not to alias.
1037+
// We should probably be at least using `&`/`&mut` here, see:
1038+
// https://github.com/gnzlbg/ctest/issues/68
10361039
"lio_listio" => true,
10371040

10381041
_ => false,

0 commit comments

Comments
 (0)