File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -157,9 +157,9 @@ Several `-Z` flags are relevant for Miri:
157
157
is enforced by default. This is mostly useful for debugging; it means Miri
158
158
will miss bugs in your program. However, this can also help to make Miri run
159
159
faster.
160
- * ` -Zmiri-enable-communication ` enables communication between the host
161
- environment and Miri, i.e., Miri uses the host's random number generator and
162
- all the host environment variables are available during runtime .
160
+ * ` -Zmiri-disable-isolation ` disables host host isolation. As a consequence,
161
+ the program has access to host resources such as environment variables and
162
+ randomness (and, eventually, file systems and more) .
163
163
* ` -Zmir-opt-level ` controls how many MIR optimizations are performed. Miri
164
164
overrides the default to be ` 0 ` ; be advised that using any higher level can
165
165
make Miri miss bugs in your program because they got optimized away.
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ fn main() {
148
148
"-Zmiri-disable-validation" => {
149
149
validate = false ;
150
150
} ,
151
- "-Zmiri-enable-communication " => {
151
+ "-Zmiri-disable-isolation " => {
152
152
communicate = true ;
153
153
} ,
154
154
"--" => {
Original file line number Diff line number Diff line change 1
1
// ignore-windows: TODO env var emulation stubbed out on Windows
2
- // compile-flags: -Zmiri-enable-communication
2
+ // compile-flags: -Zmiri-disable-isolation
3
3
4
4
fn main ( ) {
5
5
assert_eq ! ( std:: env:: var( "MIRI_ENV_VAR_TEST" ) , Ok ( "0" . to_owned( ) ) ) ;
You can’t perform that action at this time.
0 commit comments