Skip to content

Allow downstream libraries' documentation to work without feature flags #117

@madsmtm

Description

@madsmtm

Running cargo doc --target=aarch64-linux-android in winit fails to build because we haven't selected an activity.

It would be nice if that wasn't the case, e.g. the library compiled in #[cfg(doc)] successfully without selecting an activity.

(I think this is also why currently, winit doesn't display any platform-specific documentation for Android on docs.rs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions