Skip to content

Commit

Permalink
std: update miri reference to std module
Browse files Browse the repository at this point in the history
  • Loading branch information
joboet committed Oct 19, 2023
1 parent 0a47b78 commit abd6645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/miri/src/shims/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ trait EvalContextPrivExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
return Ok(());
}
let thread_callback =
this.eval_windows("thread_local_key", "p_thread_callback").to_pointer(this)?;
this.eval_windows("thread_local_guard", "p_thread_callback").to_pointer(this)?;
let thread_callback = this.get_ptr_fn(thread_callback)?.as_instance()?;

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

0 comments on commit abd6645

Please sign in to comment.