1
Fork 0

Revert "Auto merge of #118568 - DianQK:no-builtins-symbols, r=pnkfelix"

This reverts commit 503e129328, reversing
changes made to 0e7f91b75e.
This commit is contained in:
DianQK 2024-01-12 18:22:39 +08:00
parent 2b1365b34f
commit 6d29eac04b
No known key found for this signature in database
GPG key ID: 46BDB1AC96C48912
6 changed files with 4 additions and 30 deletions

View file

@ -60,7 +60,7 @@ fn prepare_lto(
};
let symbol_filter = &|&(ref name, info): &(String, SymbolExportInfo)| {
if info.level.is_below_threshold(export_threshold) || info.used || info.used_compiler {
if info.level.is_below_threshold(export_threshold) || info.used {
Some(CString::new(name.as_str()).unwrap())
} else {
None