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
In rustllvm, Rustwrapper.cpp uses an external symbol (DebugFlag), which is conditionally exported by LLVM in llvm/Support/Debug.h in between an #ifndef NDEBUG block.
Unfortunately the Debian packaged llvm is currently configured to define it:
show warning when Stacked Borrows skips a reborrow due to 'extern type'
When this happens, we can't actually be sure to catch all bugs -- LLVM will still get a `noalias` but Miri can't do reborrowing. That's not good.
In rustllvm, Rustwrapper.cpp uses an external symbol (DebugFlag), which is conditionally exported by LLVM in llvm/Support/Debug.h in between an #ifndef NDEBUG block.
Unfortunately the Debian packaged llvm is currently configured to define it:
Thus rust fails to build. Would adding a #ifndef inside LLVMSetDebug() suffice?
The text was updated successfully, but these errors were encountered: