Skip to content

Commit 232a3c4

Browse files
committed
std: update miri reference to std module
1 parent 8120430 commit 232a3c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/tools/miri/src/shims

src/tools/miri/src/shims/tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ trait EvalContextPrivExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
298298
return Ok(());
299299
}
300300
let thread_callback =
301-
this.eval_windows("thread_local_key", "p_thread_callback").to_pointer(this)?;
301+
this.eval_windows("thread_local_guard", "p_thread_callback").to_pointer(this)?;
302302
let thread_callback = this.get_ptr_fn(thread_callback)?.as_instance()?;
303303

304304
// FIXME: Technically, the reason should be `DLL_PROCESS_DETACH` when the main thread exits

0 commit comments

Comments
 (0)