When reuing a definition across codegen units, we obviously cannot use internal linkage, but using external linkage means that we can end up with multiple conflicting definitions of a single symbol across multiple crates. Since the definitions should all be equal semantically, we can use weak_odr linkage to resolve the situation. Fixes #32518 |
||
|---|---|---|
| .. | ||
| archive_ro.rs | ||
| build.rs | ||
| Cargo.toml | ||
| diagnostic.rs | ||
| lib.rs | ||