1
Fork 0

Remove rustc_llvm dependency from librustc

Consequently, session creation can no longer initialize LLVM.
The few places that use the compiler without going through
rustc_driver/CompilerCalls thus need to be careful to manually
initialize LLVM (via rustc_trans!) immediately after session
creation.

This means librustc is not rebuilt when LLVM changes.
This commit is contained in:
Robin Kruppe 2017-04-30 20:04:35 +02:00
parent 1a24a591dd
commit 8e4f315116
10 changed files with 59 additions and 57 deletions

1
src/Cargo.lock generated
View file

@ -456,7 +456,6 @@ dependencies = [
"rustc_const_math 0.0.0",
"rustc_data_structures 0.0.0",
"rustc_errors 0.0.0",
"rustc_llvm 0.0.0",
"serialize 0.0.0",
"syntax 0.0.0",
"syntax_pos 0.0.0",