Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build using VS2019's clang or clang-cl for i686-pc-windows-msvc.
Using clang-cl (MSVC command line syntax): ``` $ which clang-cl /c/apps-x86/Microsoft Visual Studio/2019/BuildTools/VC/Tools/Llvm/bin/clang-cl $ clang-cl --version clang version 12.0.0 Target: i686-pc-windows-msvc Thread model: posix InstalledDir: C:\apps-x86\Microsoft Visual Studio\2019\BuildTools\VC\Tools\Llvm\bin $ rm -Rf target/i686-pc-windows-msvc $ CC=clang-cl cargo -vv test --target=i686-pc-windows-msvc $ CC=clang-cl cargo -vv test --release --target=i686-pc-windows-msvc ``` Using clang (GCC command line syntax): ``` $ which clang /c/apps-x86/Microsoft Visual Studio/2019/BuildTools/VC/Tools/Llvm/bin/clang $ clang --version clang version 12.0.0 Target: i686-pc-windows-msvc Thread model: posix InstalledDir: C:\apps-x86\Microsoft Visual Studio\2019\BuildTools\VC\Tools\Llvm\bin $ rm -Rf target/i686-pc-windows-msvc $ CC=clang cargo -vv test --target=i686-pc-windows-msvc $ CC=clang cargo -vv test --release --target=i686-pc-windows-msvc ```
- Loading branch information