]> git.lizzy.rs Git - rust.git/blobdiff - README.md
Add an `fn_ptr` field to `MiriFrame`
[rust.git] / README.md
index ceaf993924efde9cb8f07cedf6d42daec8780cd6..747afb9c4e93aa3e38cae47a5c974e853f9dd0d2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -286,6 +286,10 @@ extern "Rust" {
     ///     lineno: u32,
     ///     // The column number currently being executed in `filename`, starting from '1'.
     ///     colno: u32,
+    ///     // The function pointer to the function currently being executed.
+    ///     // This can be compared against function pointers obtained by
+    ///     // casting a function (e.g. `my_fn as *mut ()`)
+    ///     fn_ptr: *mut ()
     /// }
     /// ```
     ///