Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bf372a8

Browse files
committed
remove warning about thread support being experimental
1 parent b64c9a0 commit bf372a8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/shims/unix/thread.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
1313
) -> InterpResult<'tcx, i32> {
1414
let this = self.eval_context_mut();
1515

16-
this.tcx.sess.warn(
17-
"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)",
18-
);
19-
2016
// Create the new thread
2117
let new_thread_id = this.create_thread();
2218

tests/pass/concurrency/spin_loop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// ignore-windows: Concurrency on Windows is not supported yet.
12
use std::thread;
23
use std::sync::atomic::{AtomicUsize, Ordering};
34

0 commit comments

Comments
 (0)