mirror of
https://github.com/jmcorgan/fips.git
synced 2026-10-06 03:28:24 +00:00
`Node::debug_assert_peer_maps_coherent` exists only under `#[cfg(debug_assertions)]`, and the handshake-presence test called it without that gate, so `cargo test --release --lib` failed to build with E0599 while every sibling call site was gated correctly. Gate the call rather than the whole test, so the rest of its assertions still run under `--release`. Nothing noticed, because no runner ever compiled the test target with optimisations: local CI builds release binaries but tests in debug, and the GitHub unit-test job does the same. Add `cargo test --release --lib --no-run` to both runners so the next debug-only helper used without its gate fails at once instead of waiting for someone to run the suite in release.