File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ miri run -- -Zmiri-disable-validation` runs the program without validation of
8787basic type invariants and without checking the aliasing of references.
8888
8989When compiling code via ` cargo miri ` , the ` miri ` config flag is set. You can
90- use this to ignore test cases that will fail under Miri because they do things
91- Miri does not support:
90+ use this to ignore test cases that fail under Miri because they do things Miri
91+ does not support:
9292
9393``` rust
9494#[test]
@@ -100,12 +100,11 @@ fn does_not_work_on_miri() {
100100}
101101```
102102
103- An exhaustive list of what ` miri ` does not support is not available, as this could be
104- an unbounded set with FFI and more. However ` miri ` will explicitly tell you when it finds
105- something unsupported with an error, containing a message such as:
103+ There is no way to list all the infinite things Miri cannot do, but the
104+ interpreter will explicitly tell you when it finds something unsupported:
106105
107106```
108- error: unsupported operation: can't call foreign function: mach_timebase_info
107+ error: unsupported operation: Miri does not support threading
109108 ...
110109 = help: this is likely not a bug in the program; it indicates that the program \
111110 performed an operation that the interpreter does not support
You can’t perform that action at this time.
0 commit comments