Connor Horman
Connor Horman
https://github.com/rust-lang/rust/pull/128784 seems more like something for the `items/extern-block.md`, as the list of supported ABI strings are documented in that chapter. > Does this also need to be updated for https://github.com/rust-lang/rust/issues/110503?...
The new section points to Ralf's UCG chapter temporarily, but the link can be removed and pointed to the id defined by #1654.
This is handled in #1654 btw.
Frankly, if we have `#[no_cdylib_symbol_export]`, I'd like the inverse for imports at least, so that it's possible to export symbols defined in C (or another language) from a cdylib.
This should wait for 121560 to merge, but otherwise, LGTM.
FTR, the standard library has every right to make assumptions about the implementation of the language beyond what the language does guarantees, because it is intrinsically tied to rustc. Not...
#1545 contains the ABI equivalence rules.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b6ab9f2513e411fc96a792bea657b20e shows what is happening here with errors: * `break` is a value expression context, so it converts the place expression to a value expression by copy or move -...
Note that the behaviour of the default (in rustc libstd) panic handler is interesting here, and I don't know how much of that is stable or implementation detail: * On...
Also, conversely, I believe that (unless you have an explicit `link_ordinal` attribute on windows), symbols in a `#[link]` extern block can be resolved by any library, and not just the...