Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The build script used the `cfg!` macro to check the target os, but the "target" in a build script is actually the host. Use the `CARGO_CFG_TARGET_OS` environment variable instead. Issue Ralith#42 [has been worked around](KhronosGroup/OpenXR-SDK-Source#198), and then [fixed upstream](KhronosGroup/OpenXR-SDK-Source#239), so the additional flag on windows is no longer necessary. Linking the filesystem library is also done correctly upstream now: https://github.com/KhronosGroup/OpenXR-SDK-Source/blob/main/src/cmake/StdFilesystemFlags.cmake
- Loading branch information