Function std::registers::instrs_start
pub fn instrs_start() -> raw_ptr
Expand description
Pointer to the start of the currently-executing code.
Returns
- [raw_ptr] - The memory location of the start of the currently-executing code.
Examples
use std::registers::instrs_start;
fn foo() {
let is = instrs_start();
assert(!is.is_null());
}