thread creation error for Windows
This commit is contained in:
parent
e7b39e382a
commit
f8c6eb5e8c
1 changed files with 2 additions and 2 deletions
|
|
@ -725,8 +725,8 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
this.write_null(dest)?;
|
||||
}
|
||||
|
||||
// We don't support threading.
|
||||
"pthread_create" => {
|
||||
// We don't support threading. (Also for Windows.)
|
||||
"pthread_create" | "CreateThread" => {
|
||||
return err!(Unimplemented(format!("Miri does not support threading")));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue