Skip to main content

Module gate

Module gate 

Source
Expand description

Step 5: the definition of done for one port.

fmt, clippy (warnings are errors), cargo tests, no unexplained unsafe, every function ported, the built module exposes the original API, and the recorded behavior replays cleanly.

Structs§

Check
GateOutcome

Constants§

MAX_GROWTH
How many times the source’s lines the port may take before gate calls it bloated, plus a fixed allowance for the imports and signatures every port has.

Functions§

gate
ported_check
No function in src/port.rs is still unimplemented!.
rust_checks
The checks that hold for any Rust crate, bindings or not: fmt, clippy (warnings are errors), cargo test, and unsafe only with a // SAFETY: comment.