Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHost compiler documentation #29893
Comments
brson
added
A-docs
and removed
A-tools
labels
Nov 17, 2015
This comment has been minimized.
This comment has been minimized.
This was referenced Nov 17, 2015
This comment has been minimized.
This comment has been minimized.
|
@Manishearth how are you currently generating the contents of https://github.com/Manishearth/rust-internals-docs ? |
This comment has been minimized.
This comment has been minimized.
|
|
steveklabnik
referenced this issue
Dec 8, 2015
Closed
Broken links in the Compiler Plugins chapter of the Book #30268
alexcrichton
added
A-tools
and removed
T-tools
labels
Jan 27, 2016
TimNN
referenced this issue
Feb 11, 2016
Closed
The links in the chapter about compiler plugins are broken. #31569
steveklabnik
removed
the
A-docs
label
Mar 9, 2016
brson
referenced this issue
Mar 21, 2016
Closed
Internal crates are documented for stable but not nightly #27149
brson
referenced this issue
Jun 9, 2016
Closed
Consider if we want to bundle rustc source code in docs #23061
alexcrichton
added
the
P-medium
label
Aug 22, 2016
steveklabnik
added
T-tools
and removed
A-tools
labels
Mar 24, 2017
Mark-Simulacrum
added
T-dev-tools
T-infra
and removed
T-tools
T-dev-tools
labels
May 24, 2017
steveklabnik
referenced this issue
Jun 1, 2017
Closed
host rustdocs for librustc and so forth on forge #42359
This comment has been minimized.
This comment has been minimized.
|
This probably belongs on the forge. /cc @nikomatsakis |
This comment has been minimized.
This comment has been minimized.
|
cc @mgattozzi, who is working on this. |
This comment has been minimized.
This comment has been minimized.
|
oh, they were already cc'd =), sorry |
This comment has been minimized.
This comment has been minimized.
|
I mentioned in #42359 what I was doing and the status of things |
This comment has been minimized.
This comment has been minimized.
|
The "compiler plugins developers" part of the audience for this is shrinking with procedural macros 1.1 / 2.0, but this can still be useful for people working on the compiler or on custom lint plugins. In my case, I’d use these docs when one of Servo’s lint plugins breaks in a compiler update. So to be useful they need to stay up to date with master or Nightly, and aren’t updated only when someone remembers to do it |
This comment has been minimized.
This comment has been minimized.
According to #45366, building the compiler docs now require a full-bootstrap compiler, meaning we can only do it on the |
This comment has been minimized.
This comment has been minimized.
|
No, you just need a stage2 compiler, no need for full bootstrap. The requirement is that target libraries and sysroot libraries are identical due to how proc macros work today. |
nikomatsakis
added
the
E-mentor
label
Mar 19, 2018
This was referenced Mar 20, 2018
bors
added a commit
that referenced
this issue
Mar 21, 2018
bors
added a commit
that referenced
this issue
Mar 21, 2018
bors
added a commit
that referenced
this issue
Mar 22, 2018
bors
added a commit
that referenced
this issue
Mar 22, 2018
bors
added a commit
that referenced
this issue
Mar 22, 2018
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Mar 23, 2018
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 23, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 24, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 24, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 24, 2018
bors
closed this
in
#49193
Mar 24, 2018
This comment has been minimized.
This comment has been minimized.
|
Re-opening as this still depends on this rust-lang/rust-central-station#40 to land. |
davidtwco
reopened this
Mar 24, 2018
This comment has been minimized.
This comment has been minimized.
|
https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ is up. Should it use |
davidtwco
referenced this issue
Apr 4, 2018
Merged
Host compiler documentation: Include private items #49654
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton @SimonSapin I agree that this would be very useful, I've submitted a PR that should handle this: #49654. |
This comment has been minimized.
This comment has been minimized.
|
If we are documenting private items, I hope rustdoc can clearly indicate that an item is private (or Also, I hope there's a |
This comment has been minimized.
This comment has been minimized.
|
I've long wanted --document-private-items to produce a "Private" checkbox that lets you toggle private items as well. Maybe I'll work on that if @QuietMisdreavus thinks its a good idea |
This comment has been minimized.
This comment has been minimized.
I would appreciate that, since those little yellow boxes take up a lot of space... EDIT: and all of the |
brson commentedNov 17, 2015
•
edited by nikomatsakis
The API documentation for the compiler is useful, and only available online via @Manishearth. It should be hosted by rust-lang.
Need to decide where on the doc server they are hosted - probably separately from the end-user docs; ensure the makefiles can produce them in a separate location from the user docs; add the build rule to the dist builders; make buildbot upload them to the right place.
cc @edunham
UPDATE: Mentoring instructions available here.