On 12/05/2017 05:16 PM, Ryan VanderMeulen wrote:
> FYI, the VC++ 2017 v14.12 toolset included in the recently-released VS2017
> 15.5 update appears to have broken building Firefox due to issues with the
> Rust compiler (in particular, the version of libclang we ship with it) and
> one of the system headers:
> 
> C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\include\type_traits:898:47:
> error: '_Ty' does not refer to a value
> 
> Which in turns leads to a Rust panic and build failure.

That looks like bindgen, but the error is a C++ one, that is, it's clang
who is choking to parse type_traits. Which version of libclang is this
using?

There's nothing tying the rust compiler version and the libclang
version, so probably just using a newer clang that is up-to-date with
the C++ features that that MSVC header uses should be enough.

 -- Emilio
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to