Skip to content

Inconsistent doc output between normal build and --release flag #19290

@icorderi

Description

@icorderi

This two produce different sets of documentation:

cargo clean
cargo build
cargo doc

and:

cargo clean
cargo build --release
cargo doc

Doing build --release produces the complete and expected documentation while simply doing build is missing several types and modules.

I'm not sure if this is expected behavior or a very peculiar bug.
This can be consistently reproduced on this project, at least by this commit.

Looking at the output at ./target/doc/kinetic/proto/command/index.html will show a different set of results.

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