Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.
This repository was archived by the owner on May 28, 2022. It is now read-only.

Add a --target option #7

@asomers

Description

@asomers

When working on crates with OS-specific functionality, it's useful to cross-compile the docs. It would be even more useful if cargo-docserver allowed viewing the result. Something like this:

$ cargo doc --target=x86_64-unknown-linux-gnu
$ cargo docserver --target=x86_64-unknown-linux-gnu
Listening on http://0.0.0.0:4000
^C
$ cargo doc --target=x86_64-apple-darwin
$ cargo docserver --target=x86_64-apple-darwin

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