steveklabnik / rustdoc

Not a real thing, see https://github.com/rust-lang/rust for rustdoc's actual source code
https://github.com/rust-lang/rust
104 stars 22 forks source link

Source tests could reuse analysis data #189

Open euclio opened 7 years ago

euclio commented 7 years ago

If the tests haven't changed, we could save some work by not regenerating the analysis data.

mgattozzi commented 7 years ago

Hmmm... cargo runs tests in parallel so it might be a bit harder to cache data, but this would be a good improvement.

euclio commented 7 years ago

I don't think the parallelism would be a problem because the analysis data is per-test.

mgattozzi commented 7 years ago

Ah I misunderstood how it worked. Thanks for clearing that up