Source code of the program:
fn main() { println!("Hello, world!"); } I'm trying to compile with static linking, but I get a window with an error:
The code execution cannot be proceed because std-66ce4ddf5a45ca83.dll was not found. Reinstalling the program may fix this problem. I don’t understand what's the matter, I guess that the problem is with the library, but I don’t know how to fix it.
kernelandvcruntime. What is your target?rustup showwrite? - aSpexcargo build? In general, this dll should be in the folder with the Rasta binaries. Check there is she there in fact. The path can be found using therustc --print sysrootcommandrustc --print sysroot. Check there is in thePATHvariable the pathc:\Users\%Name%\.cargo\binTry reinstalling Rust. - aSpexx86_64-pc-windows-gnu. - aSpexcargo build, I looked along the path.rustup\toolchains\stable-x86_64-pc-windows-msvc\binand there really is this.dll, the PATH stands forC:\Users\%Name%\.cargo\bin. Everything should work perfectly, but does not work ... - you have no pass