cargo-zigbuild
cargo-zigbuild copied to clipboard
paths with spaces or on a secondary drive
I've discovered that I'm unable to build if the path contains spaces or is on a secondary drive.
When I run the following command in the following locations on Windows 10 x64: cargo zigbuild --release --target aarch64-unknown-linux-gnu
-
c:\HelloWorld builds fine
-
c:\Hello World gets truncated:
error: linking with C:\Users\User\AppData\Local\cargo-zigbuild\0.9.0\zigcc-aarch64-unknown-linux-gnu.bat failed: exit code: 1
warning: FileNotFound: C:\Hello
- d:\HelloWorld gives renaming errors:
warning: /usr/bin/ar: unable to rename 'd:\HelloWorld\target\aarch64-unknown-linux-gnu\release\build\ring-f728d5470a7d5974\out\libring-core.a'; reason: Invalid cross-device link
error: failed to run custom build command for ring v0.16.20