diff options
| author | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2016-07-28 11:57:40 -0500 |
|---|---|---|
| committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2016-07-28 11:57:40 -0500 |
| commit | 990f193f6a2a469ff710d07238508b2ecf5e51f1 (patch) | |
| tree | a31208092cbb1204f5c4c77ad8a6ad88112dd5f5 /src/liballoc | |
| parent | 1f86005fc09eceb6b19507c466b9674013425521 (diff) | |
| parent | cec262e55a92ad15196c4ea6d490fb6ef6bccab4 (diff) | |
| download | rust-990f193f6a2a469ff710d07238508b2ecf5e51f1.tar.gz rust-990f193f6a2a469ff710d07238508b2ecf5e51f1.zip | |
Merge remote-tracking branch 'upstream/master' into remaining_cpu_x86-64
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index e762e4d8ce9..64b780413f8 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -21,6 +21,10 @@ //! //! Sharing some immutable data between threads: //! +// Note that we **do not** run these tests here. The windows builders get super +// unhappy of a thread outlives the main thread and then exits at the same time +// (something deadlocks) so we just avoid this entirely by not running these +// tests. //! ```no_run //! use std::sync::Arc; //! use std::thread; @@ -97,7 +101,8 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize; /// by putting it inside `Mutex` and then share `Mutex` immutably /// with `Arc<T>` as shown below. /// -/// ``` +// See comment at the top of this file for why the test is no_run +/// ```no_run /// use std::sync::{Arc, Mutex}; /// use std::thread; /// |
