remove warning about thread support being experimental
This commit is contained in:
parent
b64c9a0a83
commit
bf372a8fbc
@ -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();
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
// ignore-windows: Concurrency on Windows is not supported yet.
|
||||
use std::thread;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user