File tree 1 file changed +5
-6
lines changed
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
87
87
basic type invariants and without checking the aliasing of references.
88
88
89
89
When 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:
92
92
93
93
``` rust
94
94
#[test]
@@ -100,12 +100,11 @@ fn does_not_work_on_miri() {
100
100
}
101
101
```
102
102
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:
106
105
107
106
```
108
- error: unsupported operation: can't call foreign function: mach_timebase_info
107
+ error: unsupported operation: Miri does not support threading
109
108
...
110
109
= help: this is likely not a bug in the program; it indicates that the program \
111
110
performed an operation that the interpreter does not support
You can’t perform that action at this time.
0 commit comments