diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-10-31 00:46:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 00:46:44 +0000 |
| commit | 445a340af3a5feb30022103db51b3fbdf3e0c863 (patch) | |
| tree | fce00656264f346efe82b9e7584ac9da01e33cef | |
| parent | 4ca9c07ef26dffa4d113be3b0c25c3b31499b185 (diff) | |
| parent | c5e86c47a1a5b7fe6cc997eb889ea106172c982e (diff) | |
| download | rust-445a340af3a5feb30022103db51b3fbdf3e0c863.tar.gz rust-445a340af3a5feb30022103db51b3fbdf3e0c863.zip | |
Merge pull request #4003 from YohDeadfall/windows-shim-typo
Fixed a typo in the GetThreadDescription shim
| -rw-r--r-- | src/tools/miri/src/shims/windows/foreign_items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/src/shims/windows/foreign_items.rs b/src/tools/miri/src/shims/windows/foreign_items.rs index dee778876f6..e41ff022549 100644 --- a/src/tools/miri/src/shims/windows/foreign_items.rs +++ b/src/tools/miri/src/shims/windows/foreign_items.rs @@ -523,7 +523,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> { let thread = match Handle::from_scalar(handle, this)? { Some(Handle::Thread(thread)) => thread, Some(Handle::Pseudo(PseudoHandle::CurrentThread)) => this.active_thread(), - _ => this.invalid_handle("SetThreadDescription")?, + _ => this.invalid_handle("GetThreadDescription")?, }; // Looks like the default thread name is empty. let name = this.get_thread_name(thread).unwrap_or(b"").to_owned(); |
