-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 targets: consider making doc generation part of default target #14424
Comments
(I recommend no one actually work on implementing this until I get a chance to take the temperature of the team and community.) |
This is a bigger issue than just inconvenience, see: #13728. |
We discussed this in last night's meeting |
So, to summarize the meeting discussion there are several separate issues here:
|
This is now fixed, as far as I know. |
This did not appear fixed when I did a |
Okay then! @brson , any idea? I thought this was finished. |
/me goes to double-check his claim. ;) |
Okay, just to be clear: when I do a fresh checkout, run Here's the summary of what
Though to be honest, watching it now, the time spent in those |
Ahh yes. It still weirds me out that we do this, and I think there's another issue open... |
Triage: no change that I'm aware of. |
Make's now gone, so closing. |
fix: Properly handle local trait impls Before we only handled trait impls that came from the block of either the trait or the target type, we now handle them correctly by tracking the block we are currently inferring from, then walking that up to collect all block trait impls.
Currently, if I do
make
, it builds the compiler and standard library.If I then do
make install
, it does a prepare step which runs quickly, then it discovers that it has not yet generated the docs, and so it does arustdoc
run.The
rustdoc
step takes a while.Then after that finishes, it does the rest of the installation, which runs quickly.
My expectation as a developer is that if I download a source distribution and run
make
followed bymake install
, themake
step could take a long time, butmake install
should run very fast.To resolve this conflict, I suggest that we make the default
make
target also do doc generation, and potentially add some other make target for people who do not want the doc generation step while they are working.The text was updated successfully, but these errors were encountered: