Mostly fixes for bch_bindgen now actually being checked by clippy.

Also a fix for making github CI a bit easier to spot issues for users
who want to use github for submitting contributions.

Thomas Mühlbacher (5):
  chore(nix): structure github CI nix flake checks
  fix: use cargo workspace
  refactor: `cargo clippy --fix && cargo fmt`
  refactor: `cargo clippy --fix -- -W clippy::pedantic && cargo fmt`
  refactor: make bch_bindgen pass clippy

 .github/workflows/nix-flake.yml |  41 ++++---
 Cargo.toml                      |   4 +
 bch_bindgen/src/bcachefs.rs     |  17 ++-
 bch_bindgen/src/bkey.rs         | 182 +++++++++++++++++++++++++-------
 bch_bindgen/src/btree.rs        |  56 +++++-----
 bch_bindgen/src/errcode.rs      |   2 +-
 bch_bindgen/src/fs.rs           |   2 +-
 bch_bindgen/src/lib.rs          |  29 +++--
 bch_bindgen/src/sb_io.rs        |   2 +-
 flake.lock                      |  21 ++++
 flake.nix                       |  89 ++++++++++------
 src/commands/mount.rs           |  29 +++--
 src/key.rs                      |   9 +-
 src/wrappers/handle.rs          |   4 +-
 14 files changed, 336 insertions(+), 151 deletions(-)

-- 
2.48.1


Reply via email to