Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Windows cross-compilation from Linux
Since `DirSep` matches the default separator of the target OS, it's not suitable for performing path operations during compile-time on the host OS. The particular fix here solves the issue for cross-compiling a Windows build from a Linux host, but Nim seems to need a more general solution for detecting the host OS during compilation, so a host OS specific separator can be used in paths derived from `currentSourcePath`.
- Loading branch information