-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows username with space breaks linking #115
Comments
I don't personally use Windows, so help appreciated. |
The zigcc-x86_64-unknown-linux-gnu.bat that is failing contains this:
Surrounding all paths with spaces might fix it:
I tried editing it, but it gets newly generated every run. Write protecting it causes zigbuild to complain and error out. The same folder has two more files that have the same issue: "zigcxx-x86_64-unknown-linux-gnu.bat" and "zigranlib.bat". |
You can change it here Lines 868 to 874 in fb64c65
And run |
I think it fails to execute the .bat file in the first place, because of the path. |
I think it's rust-lang/rust#29494, unfortunate it's out of our control because we didn't use |
That bug has been fixed a year ago though, right? Are you saying the batch file isn't executed from within cargo-zigbuild? |
They just added a new API which needs to be adopted.
Probably |
Thanks for finding this! |
I think you can workaround it by setting the |
That worked, thank you very much messense! |
My Windows username contains a space, resulting in this profile directory: "C:\Users\Marco Brieden".
Trying to compile my code results in this error:
The text was updated successfully, but these errors were encountered: