about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-07 13:13:04 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-07 13:41:17 +0000
commit098d06b0300e7ec3d4174904c2d6a9d4444a30a2 (patch)
treeac6d358c27d25453e801d85df0687044fe855a95 /compiler/rustc_codegen_gcc
parent82aac02c5267a427fdc5e8e1abbba98fc11c832c (diff)
downloadrust-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