Expand description
Test support — a deterministic, filesystem-free GoBuildEnv.
The Environment trait (crate::interp::GoBuildEnv) IS the
testability contract: MockGoBuildEnv satisfies it from in-memory
maps so the entire encoder runs with ZERO go / filesystem
dependency (integration tests + downstream consumers alike). Shipped
in the crate (not #[cfg(test)]) exactly because integration-test
crates and downstream verifiers need it — mirrors gen-cargo shipping
its MockResolver.
Structs§
- Mock
GoBuild Env - A
GoBuildEnvbacked by in-memory maps.