mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
8c0f8a285f
interpret: expose generate_stacktrace without full InterpCx In Miri we sometimes want to emit diagnostics without having a full `&InterpCx` available. To avoid duplicating code, this adds a way to get a stacktrace from an arbitrary slice of interpreter frames, that Miri can use with access to just a thread manager.