linux-raw-sys
linux-raw-sys copied to clipboard
feat: add support for `mtd` UAPI
This adds MTD (mtd/mtd-user.h
) UAPI pieces, useful to manipulate MTD devices from Rust.
Ah shoot, this is missing all the ioctl because of the functional macro problem with bindgen.
I am unable to run fully the generate.sh
script because I am running NixOS and this script relies on a lot of non-portable assumptions for this sort of system (e.g. system prefix for cross-toolchains, locations for cross-toolchains includes, etc.). I will leave it to someone else to do it.
@sunfishcode friendly ping; are you interested in that contribution? If so, I can clean it up if needed. Thanks!