Skip to content

ndk-glue docs not building #80

@Cerber-Ursi

Description

@Cerber-Ursi

I've noticed that no version of ndk-glue has its docs built correctly. Here's the extract from the log:

[INFO] [stderr]     Checking ndk-sys v0.2.0
[INFO] [stderr] error: android-ndk-sys only supports compiling for Android
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ndk-sys-0.2.0/src/lib.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | compile_error!("android-ndk-sys only supports compiling for Android");
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error

Looks like that ndk-glue (and everything that depends on ndk-sys, in fact) have to pass rustdoc feature explicitly to ndk-sys, otherwise it is not picked up despite being required in ndk-sys itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions