File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ environment variable:
219219* ` -Zmiri-disable-isolation ` disables host isolation. As a consequence,
220220 the program has access to host resources such as environment variables, file
221221 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 ` ,
224224 and ` warn-nobacktrace ` are the supported actions. Default action is ` abort `
225225 which halts the machine. Rest of the actions configure it to return an error
226226 code for the op and continue executing. ` warn ` prints backtrace that could
227227 be used to trace the call. ` warn-nobacktrace ` is less verbose without
228- backtrace. ` ignore ` hides the warning.
228+ backtrace. ` hide ` hides the warning.
229229* ` -Zmiri-env-exclude=<var> ` keeps the ` var ` environment variable isolated from
230230 the host so that it cannot be accessed by the program. Can be used multiple
231231 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() {
317317 . unwrap ( )
318318 {
319319 "abort" => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: Abort ) ,
320- "ignore " => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: NoWarning ) ,
320+ "hide " => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: NoWarning ) ,
321321 "warn" => miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: Warning ) ,
322322 "warn-nobacktrace" =>
323323 miri:: IsolatedOp :: Reject ( miri:: RejectOpWith :: WarningWithoutBacktrace ) ,
324324 _ => 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`"
326326 ) ,
327327 } ;
328328 }
You can’t perform that action at this time.
0 commit comments