Skip to content

Commit 4fd0bc7

Browse files
committed
Update README with a new flag -Zmiri-isolation-error
1 parent 45ed82d commit 4fd0bc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +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`,
224+
and `warn-nobacktrace` are the supported actions. Default action is `abort`
225+
which halts the machine. Rest of the actions configure it to return an error
226+
code for the op and continue executing. `warn` prints backtrace that could
227+
be used to trace the call. `warn-nobacktrace` is less verbose without
228+
backtrace. `ignore` hides the warning.
222229
* `-Zmiri-env-exclude=<var>` keeps the `var` environment variable isolated from
223230
the host so that it cannot be accessed by the program. Can be used multiple
224231
times to exclude several variables. On Windows, the `TERM` environment

0 commit comments

Comments
 (0)