Apply the escape only on windows, since it doesn't work on unix systems due to the escape sequence itself containing a space character.
This is a pull request to update the "escape-spaces-in-rustflags" and finally fix the issue on Windows.
The issue persists on Unix systems and it's not easy to solve. Anyways, paths containing whitespaces are uncommon on linux.
Tested on windows and should just work on linux, since no modifications are applied to the string.
Apply the escape only on windows, since it doesn't work on unix systems due to the escape sequence itself containing a space character. This is a pull request to update the "escape-spaces-in-rustflags" and finally fix the issue on Windows. The issue persists on Unix systems and it's not easy to solve. Anyways, paths containing whitespaces are uncommon on linux. Tested on windows and should just work on linux, since no modifications are applied to the string.