scripts/verify.sh is the one verification command

The Windows check on idunn-host lived only in README prose, so nothing
ran it and d32395a broke the Windows build unnoticed. verify.sh runs the
library tests and the x86_64-pc-windows-gnu check of idunn-host, and the
README names it as the verification command.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-30 00:15:32 +02:00
commit 525856e9cd
2 changed files with 10 additions and 1 deletions

View file

@ -204,7 +204,9 @@ purpose; Idunn discovers no authority implicitly.
Idunn targets Linux and does not compile on Windows (`drivers.rs` uses
`std::os::unix` unconditionally). A local `cargo check` on a Windows
workstation proves nothing. Test and build where it runs, in the same image
workstation proves nothing. `scripts/verify.sh` is the verification command:
the library tests plus a Windows-target check of `idunn-host`. Run it on Linux
with the `x86_64-pc-windows-gnu` std installed. Test and build where it runs, in the same image
Odin uses, with the working tree shipped to the host's build root:
```bash

7
scripts/verify.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# The one verification command. Run it on Linux with the Windows GNU std installed
# (the Eureka verify image has both); a Windows workstation proves nothing.
# --lib because the tests under tests/ assume the host layout.
set -euo pipefail
cargo test --locked --lib
cargo check --locked --target x86_64-pc-windows-gnu --bin idunn-host