Skip to content

Commit a78ddbc

Browse files
committed
Skip test_aio_cancel_all on musl
I suspect that the segfault is due to a stack overflow on musl's signal stack, but I can't reproduce the failure locally. Fixes #1169
1 parent 1282815 commit a78ddbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sys/test_aio.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn test_accessors() {
4747
// our bindings. So it's sufficient to check that AioCb.cancel returned any
4848
// AioCancelStat value.
4949
#[test]
50-
#[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)]
50+
#[cfg_attr(target_env = "musl", ignore)]
5151
fn test_cancel() {
5252
let wbuf: &[u8] = b"CDEF";
5353

@@ -72,7 +72,7 @@ fn test_cancel() {
7272

7373
// Tests using aio_cancel_all for all outstanding IOs.
7474
#[test]
75-
#[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)]
75+
#[cfg_attr(target_env = "musl", ignore)]
7676
fn test_aio_cancel_all() {
7777
let wbuf: &[u8] = b"CDEF";
7878

0 commit comments

Comments
 (0)