Stream: t-compiler/wg-rls-2.0

Topic: master docs cargo caching issue


robojumper (Mar 25 2019 at 10:52, on Zulip):

Huh, so it looks like there's a bug in cargo for documenting workspaces -- removing a crate doesn't actually remove it from the target/doc directory, and the crate is still included in the search index etc. So https://rust-analyzer.github.io/rust-analyzer/ra_ide_api_light/index.html is still accessible even though the crate doesn't exist anymore (and it's included in every other crate's sidebar).

robojumper (Mar 25 2019 at 10:52, on Zulip):

Is this something I should report to r-l/cargo?

matklad (Mar 25 2019 at 11:10, on Zulip):

So, this is just stale files in the target folder? I guess we should maybe just exclude it from caching on travis?

matklad (Mar 25 2019 at 11:10, on Zulip):

or am I misunderstanding the issue?

robojumper (Mar 25 2019 at 11:11, on Zulip):

Stale files in target/doc, yeah. Removing it from caching on Travis and deleting the cache once should fix that.
Still opened https://github.com/rust-lang/cargo/issues/6783 because it seems like a bug.

matklad (Mar 25 2019 at 11:13, on Zulip):

Thanks!

Last update: Nov 19 2019 at 17:40UTC