I had been writing a small piece of Rust code, which can be seen in this code.
Everything went fine and all with debug build. However, when I try the release build, I got this error:
error: failed to link or copy `[project location]\target\debug\build\tokio-c74b323e5703145b\build_script_build-c74b323e5703145b.exe` to `[project location]\target\debug\build\tokio-c74b323e5703145b\build-script-build.exe`
Now, when I go back to build debug, it also does not work and output similar error. I am not sure what happened. The code request two dependencies: reqwest and tokio. Is there any chance that as I was worrking with the code, the dependencies got updated with something wrong, so when I build with release, the bad updated got pulled into my code?