Abort the compiler once the *.ll file has been written
dtolnay opened this issue · 0 comments
dtolnay commented
I'm just giving it a whirl and it seems like it still takes the full compile time to get the pre-LLVM line counts out; is that fundamental somehow? I'm looking at a binary that takes 20mins+ to build in release, and it seems to do a full debug build (352s).
Someone may know the right flags to pass to have the compiler finish as soon as the LLVM IR is written out, rather than producing the full binary as well. If there is not a flag, we can have cargo-llvm-lines kill the compiler process as soon as the IR file has been fully written.