Before this commit, there were separate instructions for build.rs in the section for the feature `bundled` on macos and linux but now there is a single merged build script that uses rust's conditional compilation features to merge the 2 codeblocks into 1 universal codeblock. None of the two codeblocks run if the operating system is windows or other.
with tag release-2.0.16. Removed the old patches. Simplified the build script.
Added support for custom SDL2 toolchain and build profile. Removed bundled
include files.
Something happened that broke the `vcpkg.exe install` invocation for
sdl2 on Windows when using github actions with `windows-latest`.
I have not been able to determine what is actually causing the break,
however updating to a more recent version of vcpkg seems to have fixed
the issue, so that is what is proposed here.
The commit selected is current top of tree.
Original report: https://github.com/mcgoo/cargo-vcpkg/issues/9