rustbuild: Enable building LLVM

I use this from time to time debugging LLVM builds, useful to have!
This commit is contained in:
Alex Crichton
2017-07-29 13:39:43 -07:00
parent ad36f8feba
commit ad1f19479c
2 changed files with 7 additions and 1 deletions

View File

@@ -48,6 +48,10 @@ impl Step for Llvm {
run.path("src/llvm")
}
fn make_run(run: RunConfig) {
run.builder.ensure(Llvm { target: run.target })
}
/// Compile LLVM for `target`.
fn run(self, builder: &Builder) {
let build = builder.build;