Documentation for this is sort of awkwardly scattered around std docs, the Reference, the Rustonomicon, and the UCG (some of which is more aspirational than actual, for note!), we should sit down and actually document it all somewhere. Probably a new or massively-expanded section of the Reference.
Some notes on major things to make sure we've gotten down into roughly the same place:
Documentation for this is sort of awkwardly scattered around std docs, the Reference, the Rustonomicon, and the UCG (some of which is more aspirational than actual, for note!), we should sit down and actually document it all somewhere. Probably a new or massively-expanded section of the Reference.
Some notes on major things to make sure we've gotten down into roughly the same place:
repr(Rust)andextern "Rust"orrepr(C)andextern "C"extern "C"has a target-specific meaning based on a psABI and how it is interpreted by the compilers, not specified by "Standard C"Option<T>Result<T, Zst>Result<Zst, T>bool#[target_feature]?