Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: rustdoc failures can leave around expected build product #15555

Closed
pnkfelix opened this issue Jul 9, 2014 · 4 comments
Closed

make: rustdoc failures can leave around expected build product #15555

pnkfelix opened this issue Jul 9, 2014 · 4 comments

Comments

@pnkfelix
Copy link
Member

pnkfelix commented Jul 9, 2014

rustdoc failures can leave around expected build product, e.g. doc/syntax/index.html.

This means that after the first make attempt fails, if you invoke make again, it will see the build product now in place, and will continue as if the dependency has been satisified.

This is irritating if you are trying to understand how the first error happened in the first place and want to find out e.g. what the necessary command line invocation to rustdoc is needed to reproduce it.

I would recommend we change the makefiles to use an analogous stamp.syntax infrastructure for the docs that we already use for the libraries (and then you would only touch the stamp file after rustdoc had finished generating its output and returned without an error).

@pnkfelix
Copy link
Member Author

pnkfelix commented Jul 9, 2014

part of #8058

@steveklabnik
Copy link
Member

Triage: no change. This can still happen, as we haven't changed to using stamps.

@steveklabnik
Copy link
Member

Triage: I think rustbuild Just Fixes this. @alexcrichton ?

@alexcrichton
Copy link
Member

Yes I think because we're now leveraging cargo doc this is just taken care of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants