Avoid adding compiler-used functions to symbols.o

This commit is contained in:
DianQK 2023-12-03 18:55:42 +08:00
parent 7ceaf19868
commit 9ed0d11efb
No known key found for this signature in database
GPG key ID: 46BDB1AC96C48912
6 changed files with 27 additions and 2 deletions

View file

@ -165,6 +165,7 @@ impl rustc_driver::Callbacks for MiriBeRustCompilerCalls {
level: SymbolExportLevel::C,
kind: SymbolExportKind::Text,
used: false,
used_compiler: false,
},
))
}),