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§
Constants§
- MAX_
GROWTH - How many times the source’s lines the port may take before
gatecalls it bloated, plus a fixed allowance for the imports and signatures every port has.
Functions§
- gate
- ported_
check - No function in
src/port.rsis stillunimplemented!. - rust_
checks - The checks that hold for any Rust crate, bindings or not: fmt, clippy (warnings are errors),
cargo test, and
unsafeonly with a// SAFETY:comment.