rust-lang / spec

The Rust specification
Apache License 2.0
103 stars 7 forks source link

Policy: Target-specific rules #44

Closed ehuss closed 6 months ago

ehuss commented 8 months ago

What should the policy be around documenting target-specific behavior?

There are several areas where we generally have to refer to targets, but should the spec go so far as to completely specify targets (I suspect no?). If not, then where do we draw the line? How do we say "yes" to one thing, and "no" to another?

Some examples of target-specific things from the reference:

JoelMarcey commented 8 months ago

I imagine we may have to be more determined to document target-specific behavior somewhere down the line, but for the first iteration of the spec could we just make a policy that we only document target-specific behavior where required for the actual correctness of the specification?