about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-14 20:02:07 +0000
committerbors <bors@rust-lang.org>2024-02-14 20:02:07 +0000
commit6c117f632121f0a4d31499cb105b549c545116d3 (patch)
tree34e26d80a6e11ee2fdbade149034d88ba69597c2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent41555ab4a39e18f59387a576bf1c19ef39093a60 (diff)
parent17693eb54944377873deba31755e65ced8f24ea0 (diff)
downloadrust-6c117f632121f0a4d31499cb105b549c545116d3.tar.gz
rust-6c117f632121f0a4d31499cb105b549c545116d3.zip
Auto merge of #3300 - RalfJung:rustup, r=RalfJung
Rustup

With https://github.com/rust-lang/rust/pull/121035 landed we can rustfmt format `async FnOnce`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index a2dfebec594..b45706fd1e5 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1801,6 +1801,9 @@ extern "C" LLVMRustResult LLVMRustWriteImportLibrary(
       std::string{},    // ExtName
       std::string{},    // SymbolName
       std::string{},    // AliasTarget
+#if LLVM_VERSION_GE(19, 0)
+      std::string{},    // ExportAs
+#endif
       ordinal,          // Ordinal
       ordinal_present,  // Noname
       false,            // Data