pub fn has_hardened_runtime() -> boolExpand description
Detects whether the current process is hardened, which means that pages that have WRITE and EXECUTABLE flags cannot be normally allocated. On OSX + AArch64 such allocation requires MAP_JIT flag, other platforms don’t support this combination.