koverstreet / bcachefs-tools

http://bcachefs.org
GNU General Public License v2.0
116 stars 88 forks source link

enable build bcachefs-tools without rust #264

Closed benstonezhang closed 3 months ago

benstonezhang commented 3 months ago

Add a dedicated Makefile.pc for special build without rust toolchain. cmd_mount is new added, cmd_subvolume is add back from previous code base.

koverstreet commented 3 months ago

No, we're going to be increasing our use of Rust in the future, not decreasing it.

benstonezhang commented 3 months ago

but how the environment without a rust toolchain? for embedded device, most of them does not have a rust toolchain available for now. why we abandon them?

koverstreet commented 3 months ago

Well, they're going to have to get with the times. C is 50 years old and we finally have something better; I can't hold back the whole project for people who don't want to update their toolchains.

benstonezhang commented 3 months ago

OK. I will try to maintain a pure C copy of this tool, and keep track your progress. BTW, I think rust is the successor of C++, not C. There is still some place for C.