remove warning about thread support being experimental

This commit is contained in:
Ralf Jung 2022-06-06 18:58:06 -04:00
parent b64c9a0a83
commit bf372a8fbc
2 changed files with 1 additions and 4 deletions

View File

@ -13,10 +13,6 @@ fn pthread_create(
) -> InterpResult<'tcx, i32> {
let this = self.eval_context_mut();
this.tcx.sess.warn(
"thread support is experimental: the scheduler is not preemptive, and can get stuck in spin loops.\n(see https://github.com/rust-lang/miri/issues/1388)",
);
// Create the new thread
let new_thread_id = this.create_thread();

View File

@ -1,3 +1,4 @@
// ignore-windows: Concurrency on Windows is not supported yet.
use std::thread;
use std::sync::atomic::{AtomicUsize, Ordering};