Skip to content

Commit d806e65

Browse files
committed
Rename ignore option as hide
1 parent 24884f6 commit d806e65

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

src/bin/miri.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)