]> git.lizzy.rs Git - rust.git/commit
Remove rustc_llvm dependency from librustc
authorRobin Kruppe <robin.kruppe@gmail.com>
Sun, 30 Apr 2017 18:04:35 +0000 (20:04 +0200)
committerRobin Kruppe <robin.kruppe@gmail.com>
Mon, 15 May 2017 09:13:30 +0000 (11:13 +0200)
commit8e4f3151166d8ddea2d365c589bf4ac7ab6f20c9
treebf37110b17c2e0a0bc8d5dab5fd4256e9bb9d7ff
parent1a24a591dd43c53de7e3f16eff9f67469cf7a52b
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.
src/Cargo.lock
src/librustc/Cargo.toml
src/librustc/lib.rs
src/librustc/session/mod.rs
src/librustc_driver/lib.rs
src/librustc_driver/test.rs
src/librustc_trans/lib.rs
src/librustdoc/core.rs
src/librustdoc/test.rs
src/test/run-make/issue-19371/foo.rs