Disable condvar::two_mutexes test on non-unix platforms.
Condvars are no longer guaranteed to panic in this case on all platforms. At least the unix implementation still does.
This commit is contained in:
parent
f3837e788b
commit
b1ce7a38a6
|
@ -191,7 +191,7 @@ fn wait_timeout_wake() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[should_panic]
|
#[should_panic]
|
||||||
#[cfg_attr(target_os = "emscripten", ignore)]
|
#[cfg_attr(not(unix), ignore)]
|
||||||
fn two_mutexes() {
|
fn two_mutexes() {
|
||||||
let m = Arc::new(Mutex::new(()));
|
let m = Arc::new(Mutex::new(()));
|
||||||
let m2 = m.clone();
|
let m2 = m.clone();
|
||||||
|
|
Loading…
Reference in New Issue