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 up`rustdoc` or `cargo doc` should pass a special `--cfg doc` flag #834
Conversation
P1start
reviewed
Feb 13, 2015
|
|
||
| # Alternatives | ||
|
|
||
| * The identifier `rustdoc` can be changed to something else. |
This comment has been minimized.
This comment has been minimized.
P1start
Feb 13, 2015
Contributor
I think this should just be doc. rustdoc sounds specific to the rustdoc tool itself, and so if someone made another documentation tool for Rust called something else, the rustdoc cfg attr wouldn’t really make much sense any more. A generic doc cfg sounds much more general.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kennytm
changed the title
`rustdoc` or `cargo doc` should pass a special `--cfg rustdoc` flag
`rustdoc` or `cargo doc` should pass a special `--cfg doc` flag
Feb 13, 2015
nrc
referenced this pull request
Feb 27, 2015
Closed
`rustdoc` or `cargo doc` should pass a special `--cfg doc` flag #915
This comment has been minimized.
This comment has been minimized.
|
This is probably a good idea for us to do. However, now is not the time - we are very close to the 1.0 release and this is neither urgent nor has backwards compatibility hazards. Therefore we decided it should be closed as postponed. I created #915 to track this issue for now. |
nrc
closed this
Feb 27, 2015
nrc
added
the
postponed
label
Feb 27, 2015
This comment has been minimized.
This comment has been minimized.
|
Should we re-open this RFC? The proposal seems pretty straightforward, and we're already in the 1.6 cycle. |
This comment has been minimized.
This comment has been minimized.
nodakai
commented
Apr 1, 2016
|
Ping? |
This comment has been minimized.
This comment has been minimized.
mitaa
commented
Apr 1, 2016
|
I think this is a good idea, but this also means that there must not be any compile errors from any of the |
kennytm commentedFeb 12, 2015
Rendered
cc rust-lang/rust#19240