Skip to content

Commit

Permalink
Test setting a lower import limit for ThinLTO.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Nov 22, 2019
1 parent bd816fd commit 9db5aeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_codegen_llvm/llvm_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ unsafe fn configure_llvm(sess: &Session) {
}
}

add("-import-instr-limit=25");

if sess.target.target.target_os == "emscripten" &&
sess.panic_strategy() == PanicStrategy::Unwind {
add("-enable-emscripten-cxx-exceptions");
Expand Down

0 comments on commit 9db5aeb

Please sign in to comment.