#Link.exe error
17 messages · Page 1 of 1 (latest)
try rustup toolchain install stable-gnu ? but idk about windows
rustup update stable ig
Do you have Visual Studio installed? https://rust-lang.github.io/rustup/installation/windows-msvc.html#manual-install
i had that installed i've been using rust for a week now but idk what happened
Well it's not finding it for some reason. Maybe there's something in PATH that's also called link.exe.
nope checked
i don't understand how it was working fine previosly
when i created a seperate file in src and then executed cargo run then it crashed
The error message coming from link says to run link --help but that's not a msvc link flag (it would say /help) so it must surely be some other program from somewhere
hmm rn i'm updating cargo after that i'll check that again
i got this error while running ```cargo install --force cargo
yeah, that sounds like you're using mingw's link somehow. E.g. when I run mingw's link I get a similar error as you:
$ link
link: missing operand
Try 'link --help' for more information.
Whereas msvc link is completely different.
what should i do
i deleted visual studio