You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compile: x86_64-unknown-linux-gnu/rustllvm/RustWrapper.o
/home/jauhien/work/rust/working_copy/rust/src/rustllvm/RustWrapper.cpp: In function ‘void* LLVMRustOpenArchive(char*)’:
/home/jauhien/work/rust/working_copy/rust/src/rustllvm/RustWrapper.cpp:718:60: error: no matching function for call to ‘llvm::object::Archive::Archive(std::remove_reference<std::unique_ptr<llvm::MemoryBuffer>&>::type, std::error_code&)’
Archive *ret = new Archive(std::move(buf_or.get()), err);
^
/home/jauhien/work/rust/working_copy/rust/src/rustllvm/RustWrapper.cpp:718:60: note: candidate is:
In file included from /home/jauhien/work/rust/working_copy/rust/src/rustllvm/RustWrapper.cpp:12:0:
/usr/include/llvm/Object/Archive.h:166:3: note: llvm::object::Archive::Archive(llvm::MemoryBufferRef, std::error_code&)
Archive(MemoryBufferRef Source, std::error_code &EC);
^
/usr/include/llvm/Object/Archive.h:166:3: note: no known conversion for argument 1 from ‘std::remove_reference<std::unique_ptr<llvm::MemoryBuffer>&>::type {aka std::unique_ptr<llvm::MemoryBuffer>}’ to ‘llvm::MemoryBufferRef’
make: *** [x86_64-unknown-linux-gnu/rustllvm/RustWrapper.o] Error 1
It seems like interface of LLVM has been changed.
The text was updated successfully, but these errors were encountered:
fix: panic when inlining callsites inside macros' parameters
Closerust-lang#16660, rust-lang#12429, rust-lang#10695.
When `inline_into_callers` encounters callsites in macros parameters, it can lead to panics. Since there is no perfect way to handle macros, this PR directly filters out these cases.
Relevant piece of log:
It seems like interface of LLVM has been changed.
The text was updated successfully, but these errors were encountered: