Skip to content

Add musl and glibc bindings for getdents{,64}#4522

Open
cosmicexplorer wants to merge 6 commits into
rust-lang:mainfrom
cosmicexplorer:posix-getdents
Open

Add musl and glibc bindings for getdents{,64}#4522
cosmicexplorer wants to merge 6 commits into
rust-lang:mainfrom
cosmicexplorer:posix-getdents

add hurd and bsd implementations

ee6b7ee
Select commit
Loading
Failed to load commit list.
Cirrus CI / nightly freebsd-13 x86_64 failed Sep 29, 2025 in 2m 22s

Task Summary

Instruction test failed in 01:57

Details

✅ 00:08 clone
✅ 00:14 setup
❌ 01:57 test

sh ci/run.sh $TARGET
+ target=x86_64-unknown-freebsd
+ export 'RUST_BACKTRACE=0'
+ cmd='cargo test --target x86_64-unknown-freebsd '
+ test_flags='--skip check_style'
+ cmd='cargo test --target x86_64-unknown-freebsd  --workspace'
+ [ x86_64-unknown-freebsd '=' s390x-unknown-linux-gnu ]
+ cargo test --target x86_64-unknown-freebsd --workspace --no-default-features -- --skip check_style
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
     Running unittests src/lib.rs (target/x86_64-unknown-freebsd/debug/deps/ctest-0067bfe20e3b892f)

running 15 tests
test cdecl::tests::basic ... ok
test cdecl::tests::test_array ... ok
test cdecl::tests::test_compose ... ok
test cdecl::tests::test_func ... ok
test cdecl::tests::test_func_invalid_ret ... ok
test cdecl::tests::test_precedence ... ok
test cdecl::tests::test_func_ptr ... ok
test cdecl::tests::test_ptr ... ok
test cdecl::tests::test_unnamed ... ok
test tests::test_translation_fails_for_unsupported ... ok
test tests::test_extraction_ffi_items ... ok
test tests::test_translation_type_array ... ok
test tests::test_translation_type_bare_fn ... ok
test tests::test_translation_type_ptr ... ok
test tests::test_translation_type_reference ... ok

test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/basic.rs (target/x86_64-unknown-freebsd/debug/deps/basic-59b1544fc4a7561a)

running 5 tests
test test_entrypoint_invalid_syntax ... ok
test test_entrypoint_hierarchy ... ok
test test_entrypoint_macro ... ok
test test_skip_simple ... FAILED
test test_map_simple ... ok

failures:

---- test_skip_simple stdout ----

thread 'test_skip_simple' (104445) panicked at ctest/tests/basic.rs:60:71:
called `Result::unwrap()` on an `Err` value: MacroExpansion("tests/input/simple.rs", "macro expansion failed with signal: 11 (SIGSEGV) (core dumped): ")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test_skip_simple

test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s

error: test failed, to rerun pass `-p ctest --test basic`

Exit status: 101