Skip to content

DocsRS build fails when dependency requires building build info #21

@lexi-the-cute

Description

@lexi-the-cute

rust-lang/docs.rs#2454

When building for DocsRS, the build fails for all crates that require building the build info for dependencies. For example, catgirl-engine, catgirl-engine-client, and catgirl-engine-server all depend on other crates to build the build-info, however, catgirl-engine-utils does not require building a dependency with build-info and therefore compiles successfully.

When it comes to DocsRS, they don't enable network access and I don't need the build-info itself to actually be built for the purpose of docs, I just need it to generate the function, but keep the data empty when the DOCS_RS environment variable is detected.

Is there a way to tell build-info-build to pseudo build the build dependencies so it'll succeed regardless of having access to the network?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions