File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -410,6 +410,11 @@ to Miri failing to detect cases of undefined behavior in a program.
410
410
memory. Finally, the flag is **unsound** in the sense that Miri stops tracking details such as
411
411
initialization and provenance on memory shared with native code, so it is easily possible to write
412
412
code that has UB which is missed by Miri.
413
+ * `-Zmiri-force-old-native-lib-mode` disables the WIP improved native code access tracking. If for
414
+ whatever reason enabling native calls leads to odd behaviours or causes Miri to panic, disabling
415
+ the tracer *might* fix this. This will likely be removed once the tracer has been adequately
416
+ battle-tested. Note that this flag is only meaningful on Linux systems; other Unixes (currently)
417
+ exclusively use the old native-lib code.
413
418
* `-Zmiri-measureme=<name>` enables `measureme` profiling for the interpreted program.
414
419
This can be used to find which parts of your program are executing slowly under Miri.
415
420
The profile is written out to a file inside a directory called `<name>`, and can be processed
You can’t perform that action at this time.
0 commit comments