We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4fb30f + d01dc72 commit b180ea2Copy full SHA for b180ea2
src/shims/windows/foreign_items.rs
@@ -523,7 +523,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
523
let thread = match Handle::from_scalar(handle, this)? {
524
Some(Handle::Thread(thread)) => thread,
525
Some(Handle::Pseudo(PseudoHandle::CurrentThread)) => this.active_thread(),
526
- _ => this.invalid_handle("SetThreadDescription")?,
+ _ => this.invalid_handle("GetThreadDescription")?,
527
};
528
// Looks like the default thread name is empty.
529
let name = this.get_thread_name(thread).unwrap_or(b"").to_owned();
0 commit comments