Closed evandrocoan closed 4 years ago
Running $ rustc --edition=2018 ...
gives back:
{"message":"error writing dependencies to `C:UsersProfessional.cargoregistrysrcgithub.com-1ecc6299db9ec823syn-1.0.8targetdebugbuildsyn-80bd158739e4277b\\build_script_build-80bd158739e4277b.d`: The system cannot find the path specified. (os error 3)","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m\u001b[38;5;15m: error writing dependencies to `C:UsersProfessional.cargoregistrysrcgithub.com-1ecc6299db9ec823syn-1.0.8targetdebugbuildsyn-80bd158739e4277b\\build_script_build-80bd158739e4277b.d`: The system cannot find the path specified. (os error 3)\u001b[0m\n\n"}
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m\u001b[38;5;15m: aborting due to previous error\u001b[0m\n\n"}
So the *** is not interpreting the slashes on the path. Why it is using link.exe
(from cygwin) if it cannot interpret correctly the paths?
How can I make it stop using cygwins link.exe
? What it should be using instead of link.exe
?
= note: /usr/bin/link: missing operand after ‘\377\376"’
This sounds like a rustc bug if it is passing wrong arguments to the linker, or a linker bug if the linker isn't interpreting its arguments correctly. I don't think there is any change in Syn that would be involved in this.
I am not trying to either use or build this. I am trying to run:
I am tried to build this with
cargo build --verbose
but it is not working.I tried with both version 1.0.8 and 1.0.15 and the error is the same in both:
Seems to be related to: