Skip to content

uucore: support signals feature for haiku - #14603

Open
xtqqczze wants to merge 1 commit into
uutils:mainfrom
xtqqczze:uucore-feature-signals-haiku
Open

xtqqczze wants to merge 1 commit into
uutils:mainfrom
xtqqczze:uucore-feature-signals-haiku

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Add Haiku to the platforms supporting the signals feature and define its signal set.

The feature builds successfully with Clippy for Haiku:

$ RUSTC_BOOTSTRAP=1 cargo clippy -q -Zbuild-std -p uucore --features
signals --all-targets --target x86_64-unknown-haiku >/dev/null 2>&1;
echo $?
0
The signal list was generated from Haiku’s posix/signal.h.
curl -fsSL
'https://raw.githubusercontent.com/haiku/haiku/refs/heads/master/headers/posix/signal.h'
|
awk '/^[[:space:]]*#define[[:space:]]+SIG[A-Z0-9_]+[[:space:]]+[0-9]+/ {
    name=$2
    sub(/^SIG/, "", name)
    sigs[$3]=name
}
END {
    print "EXIT"
    for (i=1; i<=32; i++) print sigs[i]
}'

@xtqqczze
xtqqczze force-pushed the uucore-feature-signals-haiku branch from 1b2a1ce to da0b5ac Compare September 16, 2026 12:33
@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/tail/pipe-f is now passing!
Skip an intermittent issue tests/pr/bounded-memory (was skipped on 'main', now failing)

@xtqqczze
xtqqczze force-pushed the uucore-feature-signals-haiku branch from da0b5ac to aba1283 Compare September 16, 2026 13:20
@xtqqczze
xtqqczze marked this pull request as ready for review September 16, 2026 13:44
Add Haiku to the platforms supporting the `signals` feature and define its signal set.

The feature builds successfully on Haiku:

```sh
RUSTC_BOOTSTRAP=1 cargo clippy -q -Zbuild-std -p uucore --features signals --all-targets --target x86_64-unknown-haiku
```

The signal list was generated from Haiku’s `posix/signal.h`.
@xtqqczze
xtqqczze force-pushed the uucore-feature-signals-haiku branch from aba1283 to c9dfb03 Compare September 16, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant