bytedance / monoio

Rust async runtime based on io-uring.
Apache License 2.0
4.02k stars 226 forks source link

ci: Make rustfmt and clippy happy #279

Closed Xuanwo closed 3 months ago

Xuanwo commented 3 months ago

This PR will fix CI on the main branch.

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

Xuanwo commented 3 months ago

tests failed for:

  = note: /rust/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-0574b0e9069601fe.rlib(std-0574b0e9069601fe.std.4ab0ec8107713975-cgu.0.rcgu.o): In function `std::sys::pal::unix::fs::try_statx::statx::h80cd69578a9fda62':
          /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/sys/pal/unix/weak.rs:169: undefined reference to `statx'
Xuanwo commented 3 months ago

More format and clippy issues have been fixed in this PR. The remaing issues https://github.com/bytedance/monoio/issues/281 and https://github.com/bytedance/monoio/issues/280 are not related.

I believe this PR itself is good to go.