diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2016-03-28 17:57:31 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2016-03-29 16:44:54 +0200 |
| commit | 22f458758652d309b7c65fa904d44f090214456c (patch) | |
| tree | 1a297d099ae2ae65a5bb46a7d34a91058c5a44c7 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | abb3a107e45b93ca5332ab11bfa6cc8d5a882fb4 (diff) | |
| download | rust-22f458758652d309b7c65fa904d44f090214456c.tar.gz rust-22f458758652d309b7c65fa904d44f090214456c.zip | |
Use weak_odr linkage when reusing definitions across codegen units
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
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
