File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ Several `-Z` flags are relevant for Miri:
158
158
will miss bugs in your program. However, this can also help to make Miri run
159
159
faster.
160
160
* ` -Zmiri-enable-communication ` enables communication between the host
161
- environment and Miri, i.e., all the host environment variables are available
162
- during Miri runtime.
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.
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 @@ -93,7 +93,8 @@ pub struct Evaluator<'tcx> {
93
93
/// TLS state.
94
94
pub ( crate ) tls : TlsData < ' tcx > ,
95
95
96
- /// If enabled, the `env_vars` field is populated with the host env vars during initialization.
96
+ /// If enabled, the `env_vars` field is populated with the host env vars during initialization
97
+ /// and random number generation is delegated to the host.
97
98
pub ( crate ) communicate : bool ,
98
99
}
99
100
You can’t perform that action at this time.
0 commit comments