## __arm_mte_get_tag

# Function __arm_mte_get_tag

Source

    pub unsafe fn __arm_mte_get_tag<T>(address: *const T) -> *const T

🔬This is a nightly-only experimental API. (`stdarch_aarch64_mte` #129010)
Available on (AArch64 or `target_arch=arm64ec`) and target feature `mte` only.
Expand description

Load an allocation tag from memory, returning a new pointer with the corresponding logical tag.

`address`: A pointer containing an address from which allocation tag memory is read. This does not need to be 16-byte aligned.