Commit f43cfb5
Delete impl/rust-ffi/ duplicate; ffi/rust/ is canonical
Closes the duplicate-tree finding from CRG-AUDIT-2026-04-18:
* Both crates declared the same package identity (`vsh-ffi` library
`vsh_ffi`, byte-identical Cargo.toml).
* 6 of 7 sibling source files (audit, errors, operations,
preconditions, rmo, sandbox) are byte-identical.
* lib.rs diverges: `ffi/rust/src/lib.rs` is the superset (443 LOC)
vs `impl/rust-ffi/src/lib.rs` (407 LOC) — extra is `pub mod
verification;` plus richer doc comments referencing the
six-system proof stack (Z3/Lean4/Agda/Isabelle/Mizar).
* `ffi/rust/src/verification.rs` (462 LOC) is unique to ffi/rust/.
* `ffi/rust/` matches the CLAUDE.md ABI/FFI universal standard
location (`ffi/<lang>/` per the global "ABI/FFI Universal
Standard" directory layout).
* No external build consumers: neither tree is referenced from
`impl/rust-cli/Cargo.toml`, no path-deps, no Justfile/Containerfile/
workflow references — only documentation files mention them. The
main vsh shell crate still builds cleanly after deletion (verified:
`cargo build` exit 0).
Action: removed `impl/rust-ffi/` entirely (the strict subset). Sweep
of the `.expect("TODO: handle error")` anti-pattern in `ffi/rust/src/`
follows in a separate commit (batch 8).
ROADMAP.adoc v0.9.x item updated to reflect resolution.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d5f045d commit f43cfb5
10 files changed
Lines changed: 5 additions & 3554 deletions
File tree
- impl/rust-ffi
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments