Skip to content

Commit a20719c

Browse files
committed
add section on the no MIR error
1 parent bf6b7aa commit a20719c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ You may be running `cargo miri` with a different compiler version than the one
105105
used to build the custom libstd that Miri uses, and Miri failed to detect that.
106106
Try deleting `~/.cache/miri`.
107107

108+
#### "no mir for `std::rt::lang_start_internal`"
109+
110+
This means the sysroot you are using was not compiled with Miri in mind. This
111+
should never happen when you use `cargo miri` because that takes care of setting
112+
up the sysroot. If you are using `miri` (the Miri driver) directly, see
113+
[below][testing-miri] for how to set up the sysroot.
114+
108115
## Development and Debugging
109116

110117
If you want to hack on miri yourself, great! Here are some resources you might

0 commit comments

Comments
 (0)