Skip to content

Commit

Permalink
Rollup merge of #120974 - zmodem:exportas, r=durin42
Browse files Browse the repository at this point in the history
llvm-wrapper: adapt for LLVM API change: Add support for EXPORTAS name types

Adapt for llvm/llvm-project@8f23464.
  • Loading branch information
matthiaskrgr authored Feb 13, 2024
2 parents d95f000 + 718b304 commit fa3ec02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa3ec02

Please sign in to comment.