Skip to content

Commit 9db5aeb

Browse files
Test setting a lower import limit for ThinLTO.
1 parent bd816fd commit 9db5aeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_codegen_llvm/llvm_util.rs

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ unsafe fn configure_llvm(sess: &Session) {
7676
}
7777
}
7878

79+
add("-import-instr-limit=25");
80+
7981
if sess.target.target.target_os == "emscripten" &&
8082
sess.panic_strategy() == PanicStrategy::Unwind {
8183
add("-enable-emscripten-cxx-exceptions");

0 commit comments

Comments
 (0)