You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WIP] Read docs.rs metadata when running rustdoc
Closes#532
<details><summary>Outdated errors</summary>
I'm having trouble running the test suite, so I haven't yet added a test. My idea was to have a crate that only builds successfully when you read the metadata, but I'm not sure if that would work with the way the test suite is set up.
Current errors:
```
$ cargo test minicrater -- single_thread_small --ignored --test-threads 1
[2020-09-05T02:02:04Z INFO rustwide::cmd] running `Command { std: "/home/joshua/src/rust/crater/work/cargo-home/bin/cargo" "+stable" "install" "lazy_static", kill_on_drop: false }`
[2020-09-05T02:02:04Z INFO rustwide::cmd] [stderr] Updating crates.io index
[2020-09-05T02:02:04Z INFO rustwide::cmd] [stderr] error: specified package `lazy_static v1.4.0` has no binaries
[2020-09-05T02:02:04Z ERROR crater::utils] Permission denied (os error 13)
[2020-09-05T02:02:04Z ERROR crater::utils] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[2020-09-05T02:02:04Z INFO crater] command failed
', /home/joshua/.local/lib/cargo/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.10.1/src/assert.rs:154:13
```
</details>
Before merging, I need to publish the `docsrs-metadata` package to crates.io so crater doesn't depend on a git version.
r? `@pietroalbini` help
0 commit comments