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:
parent
1a24a591dd
commit
8e4f315116
10 changed files with 59 additions and 57 deletions
1
src/Cargo.lock
generated
1
src/Cargo.lock
generated
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue