blob: e7f63be794f4268e9ae09bcb49ab542ff88dc526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|