the result of ninja is:
[467/467] Linking CXX executable mold.exe
ninja: error: FindFirstFileExA(Note: including file: C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared): The filename, directory name, or volume label syntax is incorrect.
Folder "C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared" exists and the content of folder seems to be correct.
I don't have a Windows machine. The only harness ensuring mold can be built on Windows is our GitHub buildbot. Did you have any idea why it failed in your configuration?
I did nothing special to reproduce this on new clean machine:
the result of ninja is: [467/467] Linking CXX executable mold.exe ninja: error: FindFirstFileExA(Note: including file: C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared): The filename, directory name, or volume label syntax is incorrect.
Folder "C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared" exists and the content of folder seems to be correct.