diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-08-07 13:13:04 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-08-07 13:41:17 +0000 |
| commit | 098d06b0300e7ec3d4174904c2d6a9d4444a30a2 (patch) | |
| tree | ac6d358c27d25453e801d85df0687044fe855a95 /compiler/rustc_codegen_gcc | |
| parent | 82aac02c5267a427fdc5e8e1abbba98fc11c832c (diff) | |
| download | rust-098d06b0300e7ec3d4174904c2d6a9d4444a30a2.tar.gz rust-098d06b0300e7ec3d4174904c2d6a9d4444a30a2.zip | |
Prevent name collisions with internal implementation details
The implementation of the linkage attribute inside extern blocks defines symbols starting with _rust_extern_with_linkage_. If someone tries to also define this symbol you will get a symbol conflict or even an ICE. By adding an unpredictable component to the symbol name, this becomes less of an issue.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
