libmount-sys 0.1.1

Unsafe Rust bindings for libmount of util-linux
Documentation
1
2
3
4
5
6
7
8
// This file overrides <sys/mount.h>
//
// `libmount/libmount.h` includes <sys/mount.h>, and then redefines some
// variables defined by that header. This does not matter in C, given its
// preprocessor semantics. But this causes bindgen to generate duplicate
// symbols, which causes the generated bindings to fail Rust compilation.
//
// Pretending <sys/mount.h> is empty avoids this situation.