Repository navigation
Conversation
|
Review: hold pending the changes below. Fold this into the shared stack/router documentation-and-test PR. Strengthen the source-preservation test: dropping the source after making a copy does not establish that its contents remained unchanged. Check both the copied value and the original value explicitly. Historical local validation (September 11, at this unchanged PR head): Rebase on current main, address the specific gaps above, and run the affected correctness and active metric checks. Broad/full-repository runs are not requested. Reviewed commit: |
|
Superseded by #49. The shared U4 stack/router PR now carries the strengthened preservation/order tests, strict word-transfer boundaries, documentation, and active metrics requested here. |
Summary
u4_copy_u32_from(0)Validation
cargo test --locked arithmetic::u4::stack::tests::copy_u32_from_preserves_the_source_and_unrelated_statecargo test --locked --test primitive_metrics u4_copy_u32_from_metrics_are_currentpython3 tools/kb.py validatecargo fmt --all -- --checkgit diff --checkThe full repository test suite was intentionally not run; validation is scoped to the documented router.