Skip to main content

Module shadow

Module shadow 

Source
Expand description

Step 4: a drop-in module that runs the TS original and the Rust port side by side.

Import the generated module where the app imported the original. Every call returns the original’s result; the Rust result is compared and mismatches are reported. Once production traffic shows no mismatches, RUST_ANYTHING_MODE=new switches to Rust, still without a code change.

Structs§

ShadowOutcome

Functions§

shadow