alloc: Don't run some Arc doc tests
Windows gets quite unhappy when a thread fails while the main thread is exiting, frequently leading to process deadlock. This has been causing quite a few deadlocks on the windows bots recently. The child threads are presumably failing because the `println!` is failing due to the main thread being shut down.
This commit is contained in:
parent
199bdcfeff
commit
fa3840305c
2 changed files with 9 additions and 11 deletions
|
@ -33,7 +33,7 @@
|
|||
//!
|
||||
//! Sharing some immutable data between tasks:
|
||||
//!
|
||||
//! ```
|
||||
//! ```no_run
|
||||
//! use std::sync::Arc;
|
||||
//! use std::thread;
|
||||
//!
|
||||
|
@ -50,7 +50,7 @@
|
|||
//!
|
||||
//! Sharing mutable data safely between tasks with a `Mutex`:
|
||||
//!
|
||||
//! ```
|
||||
//! ```no_run
|
||||
//! use std::sync::{Arc, Mutex};
|
||||
//! use std::thread;
|
||||
//!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue