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

rustc_macros is not in rustc API docs #80345

Closed
camelid opened this issue Dec 24, 2020 · 2 comments · Fixed by #80362
Closed

rustc_macros is not in rustc API docs #80345

camelid opened this issue Dec 24, 2020 · 2 comments · Fixed by #80362
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@camelid
Copy link
Member

camelid commented Dec 24, 2020

Maybe because it's a proc-macro crate? It's not on the crate index list, nor is it in the search index, and https://doc.rust-lang.org/nightly/nightly-rustc/rustc_macros doesn't exist.

@camelid camelid added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools labels Dec 24, 2020
@ehuss
Copy link
Contributor

ehuss commented Dec 24, 2020

Proc-macro documentation is stored in a different directory when --target is used. There is a little more discussion of this at rust-lang/cargo#7677. It is not clear how feasible that is to fix.

@jyn514
Copy link
Member

jyn514 commented Dec 24, 2020

Bootstrap can work around this the same way docs.rs does, by moving compiler-doc/x86_64-unknown-linux-gnu/rustc_macros to compiler-doc/rustc_macros manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants