B2 final: verify the Windows lib and tests, gate the unix-only reloads helper
reloads() reads unix-only route stubs and has broken
`cargo check --target x86_64-pc-windows-gnu --lib --tests` since 8212b9d.
Gate it, and add that check to scripts/verify.sh so unix-only test code
cannot leak out of its cfg unnoticed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cccfe8e174
commit
c127b53211
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
# (the Eureka verify image has both); a Windows workstation proves nothing.
|
# (the Eureka verify image has both); a Windows workstation proves nothing.
|
||||||
# The Windows check runs first: it is fast, and a hung test cannot mask it.
|
# The Windows check runs first: it is fast, and a hung test cannot mask it.
|
||||||
# --lib because the tests under tests/ assume the host layout.
|
# --lib because the tests under tests/ assume the host layout.
|
||||||
|
# The Windows --lib --tests check keeps unix-only test code from leaking out of its cfg.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cargo check --locked --target x86_64-pc-windows-gnu --bin idunn-host
|
cargo check --locked --target x86_64-pc-windows-gnu --bin idunn-host
|
||||||
|
cargo check --locked --target x86_64-pc-windows-gnu --lib --tests
|
||||||
cargo test --locked --lib
|
cargo test --locked --lib
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue