From 525856e9cd353b2566e96cd508846d1de84ee436 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 00:15:32 +0200 Subject: [PATCH] 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 --- README.md | 4 +++- scripts/verify.sh | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 scripts/verify.sh diff --git a/README.md b/README.md index 297a9f1..503409e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/verify.sh b/scripts/verify.sh new file mode 100755 index 0000000..c73a99b --- /dev/null +++ b/scripts/verify.sh @@ -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