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

@ -35,12 +35,7 @@ pub enum SymbolExportKind {
pub struct SymbolExportInfo {
pub level: SymbolExportLevel,
pub kind: SymbolExportKind,
/// Used to mark these symbols not to be internalized by LTO. These symbols
/// are also added to `symbols.o` to avoid circular dependencies when linking.
pub used: bool,
/// Also used to mark these symbols not to be internalized by LTO. But will
/// not be added to `symbols.o`. Currently there are only builtin functions.
pub used_compiler: bool,
}
#[derive(Eq, PartialEq, Debug, Copy, Clone, TyEncodable, TyDecodable, HashStable)]