Skip to content

Self-hosting #1

Description

@jayvdb

From what I can see, the CI doesnt run rd on itself.

When I tried locally, I encountered:

cargo run -- -v --output html/ target/doc/rd.json 
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/rd -v --output html/ target/doc/rd.json`
[2022-08-24T08:30:25Z INFO  rd] creating the output directory: "html/"
[2022-08-24T08:30:25Z INFO  rd] opening input file: "target/doc/rd.json"
[2022-08-24T08:30:25Z INFO  rd] starting deserialize of the file
Error: Unable to deseriliaze the content of the file

Caused by:
    unknown variant `dyn_trait`, expected one of `resolved_path`, `generic`, `primitive`, `function_pointer`, `tuple`, `slice`, `array`, `impl_trait`, `infer`, `raw_pointer`, `borrowed_ref`, `qualified_path` at line 1 column 23934

Is this an rd problem, or does it need to be fixed in rustdoc-types (possibly already fixed rust-lang/rustdoc-types#15 (comment) ?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions