We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec8c3d9 commit b576dd2Copy full SHA for b576dd2
library/std/src/sys_common/backtrace.rs
@@ -218,7 +218,7 @@ pub fn output_filename(
218
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
219
pub fn set_image_base() {
220
let image_base = crate::os::fortanix_sgx::mem::image_base();
221
- backtrace_rs::set_image_base(crate::ptr::from_exposed_addr_mut(image_base as _));
+ backtrace_rs::set_image_base(crate::ptr::invalid_mut(image_base as _));
222
}
223
224
#[cfg(not(all(target_vendor = "fortanix", target_env = "sgx")))]
0 commit comments