async-rs / async-rs/async-std

test io_timeout_timedout fails on aarch64 and mips64el

Open
#1,042 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

I have packaged async-std for Debian, where it succesfully builds on all supported architctures except [aarch64](https://buildd.debian.org/status/fetch.php?pkg=rust-async-std&arch=arm64&ver=1.12.0-2&stamp=1666913499&raw=0) and [mips64el](https://buildd.debian.org/status/fetch.php?pkg=rust-async-std&arch=mips64el&ver=1.12.0-2&stamp=1666914355&raw=0) where it fails test io_timeout_timedout:
```
Running `/<>/target/aarch64-unknown-linux-gnu/release/deps/io_timeout-aa97540a6076f5ab`

running 3 tests
test io_timeout_future_ok ... ok
test io_timeout_timedout - should panic ... FAILED
test io_timeout_future_err - should panic ... ok

failures:

---- io_timeout_timedout stdout ----
note: test did not panic as expected

failures:
io_timeout_timedout

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s

```
Commit e4c4c93d2 talks about 32bit archs in its commit message, however skips that very test not only for 32bit archs, and I wonder if perhaps the logic should be reversed to only enable that test on known working architectures?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.