File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ environment variable:
219
219
* ` -Zmiri-disable-isolation ` disables host isolation. As a consequence,
220
220
the program has access to host resources such as environment variables, file
221
221
systems, and randomness.
222
- * ` -Zmiri-isolation-error=<action> ` configures Miri's response to operations
223
- requiring host access while isolation is enabled. ` abort ` , ` ignore ` , ` warn ` ,
222
+ * ` -Zmiri-isolation-error=<action> ` configures Miri's response to operations
223
+ requiring host access while isolation is enabled. ` abort ` , ` hide ` , ` warn ` ,
224
224
and ` warn-nobacktrace ` are the supported actions. Default action is ` abort `
225
225
which halts the machine. Rest of the actions configure it to return an error
226
226
code for the op and continue executing. ` warn ` prints backtrace that could
227
227
be used to trace the call. ` warn-nobacktrace ` is less verbose without
228
- backtrace. ` ignore ` hides the warning.
228
+ backtrace. ` hide ` hides the warning.
229
229
* ` -Zmiri-env-exclude=<var> ` keeps the ` var ` environment variable isolated from
230
230
the host so that it cannot be accessed by the program. Can be used multiple
231
231
times to exclude several variables. On Windows, the ` TERM ` environment
Original file line number Diff line number Diff line change @@ -317,12 +317,12 @@ fn main() {
317
317
. unwrap ( )
318
318
{
319
319
"abort" => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: Abort ) ,
320
- "ignore " => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: NoWarning ) ,
320
+ "hide " => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: NoWarning ) ,
321
321
"warn" => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: Warning ) ,
322
322
"warn-nobacktrace" =>
323
323
miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: WarningWithoutBacktrace ) ,
324
324
_ => panic ! (
325
- "-Zmiri-isolation-error must be `abort`, `ignore `, `warn`, or `warn-nobacktrace`"
325
+ "-Zmiri-isolation-error must be `abort`, `hide `, `warn`, or `warn-nobacktrace`"
326
326
) ,
327
327
} ;
328
328
}
You can’t perform that action at this time.
0 commit comments