Skip to content

Commit 645b83d

Browse files
committed
Flag the dynamic_lib tests as ignored
The library isn't thread-safe, cc #9137
1 parent 6216661 commit 645b83d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/unstable/dynamic_lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ mod test {
9090
use libc;
9191

9292
#[test]
93-
#[ignore(cfg(windows))] // FIXME #8818
93+
// #[ignore(cfg(windows))] // FIXME #8818
94+
#[ignore] // FIXME #9137 this library isn't thread-safe
9495
fn test_loading_cosine() {
9596
// The math library does not need to be loaded since it is already
9697
// statically linked in
@@ -121,6 +122,7 @@ mod test {
121122
#[cfg(target_os = "linux")]
122123
#[cfg(target_os = "macos")]
123124
#[cfg(target_os = "freebsd")]
125+
#[ignore] // FIXME #9137 this library isn't thread-safe
124126
fn test_errors_do_not_crash() {
125127
// Open /dev/null as a library to get an error, and make sure
126128
// that only causes an error, and not a crash.

0 commit comments

Comments
 (0)