Policy on referring to rustc
and other implementations
#22
Labels
C-meta
Category: Meta discussion about the repository itself. We should refine each use of the policy label
I think there should be a policy on if and when it is acceptable to refer to
rustc
.One option is to have a policy of never referring to it directly. However, I think that would result in a loss of information or assistance to Rust users. There are some gray areas where there is a close coupling between the language and
rustc
, and having a small tip or note can save some readers considerable time trying to find the relationships.If we do allow it, I would recommend having a policy of avoiding it as much as possible, and only including it when there is a high level of relevance, and only as a side-note or tip.
See also #32 about referring to bugs.
There is also a closely related concern about whether or not anything should ever be "implementation specific", see #29.
Some examples from the Reference:
rustc
currently only allows theclippy
andrustfmt
tool attributes. It has not yet been decided if the tool attribute space should be extensible (and if so, how).feature
attribute links to the Unstable book.cfg
values mentions the way to do that is viarustc --cfg
.test
cfg is set viarustc --test
.rustc
.rustc -C target-feature=+crt-static
#[inline]
and the relationship to howrustc
works.rustc
options.#[deprecated]
does inrustc
.recursion_limit
andtype_length_limit
.rustc
.#[link]
needs to cross-link with therustc
docs.rustc
.extern alloc;
due to the way things work.rustc
-specific is that?The text was updated successfully, but these errors were encountered: