Skip to content

Commit

Permalink
Fix failing CI
Browse files Browse the repository at this point in the history
- Disable async-io tests for wine
- Fix errant cast in Android

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Aug 5, 2023
1 parent 5379338 commit 26b762a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,6 @@ jobs:
target: x86_64-pc-windows-gnu
runner: [email protected]
- run: cargo test --target x86_64-pc-windows-gnu
- name: Clone async-io
run: git clone https://github.com/smol-rs/async-io.git
- name: Add patch section
run: echo '[patch.crates-io]' >> async-io/Cargo.toml
- name: Patch polling
run: echo 'polling = { path = ".." }' >> async-io/Cargo.toml
- name: Test async-io
run: cargo test --manifest-path=async-io/Cargo.toml

msrv:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion src/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl Poller {
None => TS_ZERO,
Some(t) => {
let mut ts = TS_ZERO;
ts.tv_sec = t.as_secs() as libc::time_t;
ts.tv_sec = t.as_secs() as _;
ts.tv_nsec = (t.subsec_nanos() as libc::c_long).into();
ts
}
Expand Down

0 comments on commit 26b762a

Please sign in to comment.