Redox CI failure

Open
#5,520 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
c, rust

Research direction

Start by reproducing or inspecting the Redox CI failure in the libc-test build, focusing on the generated ctest_output.c location shown in the log and the unknown sighandler_t error. Trace how the libc-test bindings are generated for Redox, then verify the fix by rerunning the affected Redox CI check.

Written by the indexing model from the issue text.

Description

...
warning: [email protected]: detected versions: Versions { linux: None, glibc: None, freebsd: None, openbsd: None, netbsd: None, macos: None, emscripten: None, wasi_sdk: None, android: None }
warning: [email protected]: /checkout/target/x86_64-unknown-redox/debug/build/libc-test-c248624186d593e8/out/ctest_output.c:98:8: error: unknown type name 'sighandler_t'
warning: [email protected]:    98 | static sighandler_t ctest_const_SIG_DFL_val_static = SIG_DFL;
warning: [email protected]:       |        ^~~~~~~~~~~~
warning: [email protected]: /checkout/target/x86_64-unknown-redox/debug/build/libc-test-c248624186d593e8/out/ctest_output.c:98:54: error: initialization of 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Werror=int-conversion]
...

cc: @willnode

Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
27

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/libc

All issues in rust-lang/libc

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.