nix: build with clang
Some checks failed
Test / Create distribution (push) Failing after 33s
Test / Sandbox (push) Successful in 2m22s
Test / Hakurei (push) Failing after 3m15s
Test / Hpkg (push) Successful in 4m13s
Test / Sandbox (race detector) (push) Successful in 4m25s
Test / Hakurei (race detector) (push) Failing after 5m12s
Test / Flake checks (push) Has been skipped

Clang is better than gcc in various ways. This also pulls in clang-format which is very helpful.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-15 16:27:34 +09:00
parent a91920310d
commit dffa602ac2
3 changed files with 15 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ static void hakurei_shim_sigaction(int sig, siginfo_t *si, void *ucontext) {
void hakurei_shim_setup_cont_signal(pid_t ppid, int fd) {
if (hakurei_shim_param_ppid != -1 || hakurei_shim_fd != -1)
*(int *)NULL = 0; /* unreachable */
*(volatile int *)NULL = 0; /* unreachable */
struct sigaction new_action = {0}, old_action = {0};
if (sigaction(SIGCONT, NULL, &old_action) != 0)