Skip to content

Commit fa3ec02

Browse files
authored
Rollup merge of #120974 - zmodem:exportas, r=durin42
llvm-wrapper: adapt for LLVM API change: Add support for EXPORTAS name types Adapt for llvm/llvm-project@8f23464.
2 parents d95f000 + 718b304 commit fa3ec02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,6 +1801,9 @@ extern "C" LLVMRustResult LLVMRustWriteImportLibrary(
18011801
std::string{}, // ExtName
18021802
std::string{}, // SymbolName
18031803
std::string{}, // AliasTarget
1804+
#if LLVM_VERSION_GE(19, 0)
1805+
std::string{}, // ExportAs
1806+
#endif
18041807
ordinal, // Ordinal
18051808
ordinal_present, // Noname
18061809
false, // Data

0 commit comments

Comments
 (0)