LLVM will "soon" require C++14 / C++17


#1

This is another discussion I noted from the LLVM Dev Meeting, although I was elsewhere during this BoF.

[llvm-dev] LLVM C++14/C++17 BoF - Summary

For Rust, I think this will mostly just be an issue of updating our various src/ci containers with newer GCC/Clang builds, and maybe the Windows infrastructure will need to be updated too. We already build custom GCC on many targets to get newer toolchains while keeping ABI compatibility. I don’t think we’ll have to increase our ABI baseline for this (currently ~RHEL5-ish for Linux x86), but that’s something to be careful about too.


attn @alexcrichton, since you often deal with those CI images. :slight_smile:


#2

Thanks for the heads up! I think you’re right in that we should be set for i686/x86_64 Linux as they’re compiling I think Clang 6 or 7 in the container to compile LLVM with. We may have to raise the baseline compatibility of other architectures though as I think they’re all using some voodoo to compile custom compilers which may be hard to modify.

In any case, we can probably cross this bridge when we get there!


#3

Yes, I’m responsible for some of that voodoo. :slight_smile:

I’m willing to help out when we get around to updating this, and definitely please do involve me if the baseline is about to move on the linux-gnu targets!


#4

Of course, will do!