[][src]Macro unwind::get_context

macro_rules! get_context {
    ($name:ident) => { ... };
}

Creates a Context pinned to the stack.

This is a macro rather than a function due to the implementation of the libunwind library. On aarch64 targets, calling this macro requires a nightly compiler.

Example


get_context!(context);
let _: Pin<&mut Context> = context;