Figuring out how to build hbm-minigbm with NDK
Hi, I'm trying to build hbm-minigbm static library with Android NDK so I can create a repo containing the prebuilts. Currently I'm stuck at
error[E0425]: cannot find function `makedev` in module `sys::stat`
--> hbm/src/utils.rs:16:16
|
16 | sys::stat::makedev(major, minor) as u64
| ^^^^^^^ not found in `sys::stat`
|
note: found an item that was configured out
--> /home/hmtheboy154/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.28.0/src/sys/stat.rs:202:14
|
202 | pub const fn makedev(major: u64, minor: u64) -> dev_t {
| ^^^^^^^
note: the item is gated behind the `linux` feature
--> /home/hmtheboy154/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.28.0/src/sys/stat.rs:201:7
|
201 | #[cfg(target_os = "linux")]
| ^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0425`.
error: could not compile `hbm` (lib) due to 1 previous error
Does this mean the project will have to create it's own implementation of makedev for Android targets ?