about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-01 03:58:52 +0000
committerbors <bors@rust-lang.org>2022-08-01 03:58:52 +0000
commit25bb1c13bd472b75ceebee3b8dcf4dcbc431a8be (patch)
tree8e92c4599e20bcf41b53f8e21ac333653f348c51 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6423ab3a755fed97f75b2361849155d4e996d02f (diff)
parentb87f8a4d9c5b02be27d763bb76d66298f1c01ffe (diff)
downloadrust-25bb1c13bd472b75ceebee3b8dcf4dcbc431a8be.tar.gz
rust-25bb1c13bd472b75ceebee3b8dcf4dcbc431a8be.zip
Auto merge of #99944 - bjorn3:hide_proc_macro_symbols, r=eddyb
Limit symbols exported from proc macros

Only `__rustc_proc_macro_decls_*__` and `rust_metadata_*` need to be
exported for proc macros to work. All other symbols only increase binary
size and have the potential to conflict with symbols from the host
compiler.

Fixes https://github.com/rust-lang/rust/issues/99909
Fixes #59998

cc `@eddyb`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions