]> git.sesse.net Git - bcachefs-tools-debian/commit - Makefile
Rust now integrated into bcachefs binary
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 4 Jan 2023 03:31:36 +0000 (22:31 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 21 Feb 2023 06:03:08 +0000 (01:03 -0500)
commit28f703cc256fb6ae209aba1d1fe509d603de1735
tree220fc0e14cd29a3b56fe18dc8594d7bb4fe66718
parentda6a35689518599b381c285cd9505ab8d58f7c73
Rust now integrated into bcachefs binary

Rust is now required for building the bcachefs tool, and rust code is
now fully integrated with the C codebase - meaning it is possible to
call back and forth.

The mount helper is now a subcommand, 'mount.bcachefs' is now a small
shell wrapper that invokes 'bcachefs mount'.

This will make it easier to start rewriting other subcommands in rust,
and eventually the whole command line interface.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
18 files changed:
.gitignore
Makefile
bcachefs.c
cmds.h
mount.bcachefs [new file with mode: 0755]
rust-src/.gitignore [moved from rust-src/mount/.gitignore with 100% similarity]
rust-src/Cargo.lock [moved from rust-src/mount/Cargo.lock with 99% similarity]
rust-src/Cargo.toml [moved from rust-src/mount/Cargo.toml with 73% similarity]
rust-src/README.md [moved from rust-src/mount/README.md with 100% similarity]
rust-src/bch_bindgen/build.rs
rust-src/default.nix [moved from rust-src/mount/default.nix with 100% similarity]
rust-src/module.nix [moved from rust-src/mount/module.nix with 100% similarity]
rust-src/mount/src/main.rs [deleted file]
rust-src/rustfmt.toml [moved from rust-src/mount/rustfmt.toml with 100% similarity]
rust-src/src/cmd_mount.rs [moved from rust-src/mount/src/lib.rs with 51% similarity]
rust-src/src/filesystem.rs [moved from rust-src/mount/src/filesystem.rs with 100% similarity]
rust-src/src/key.rs [moved from rust-src/mount/src/key.rs with 75% similarity]
rust-src/src/lib.rs [new file with mode: 0644]