I'm on Windows and just did rustup +nightly component add miri.
When I do a new binary crate, run cargo add eframe --no-default-features and then put the following in main.rs:
I get the following error with cargo +nightly miri run:
error: Undefined Behavior: calling a function with calling convention "Rust" using calling convention "C"
|
= note: Undefined Behavior occurred here
= note: (no span available)
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior