blob: e7f63be794f4268e9ae09bcb49ab542ff88dc526 [file] [log] [blame]
error: Miri can only run programs that have a main function.
Alternatively, you can export a `miri_start` function:
#[cfg(miri)]
#[unsafe(no_mangle)]
fn miri_start(argc: isize, argv: *const *const u8) -> isize {
// Call the actual start function that your project implements, based on your target's conventions.
}
error: aborting due to 1 previous error