I have Rust installed on a Win-7 64 VM:
V:\>rustup show
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\mark\.rustup
stable-x86_64-pc-windows-msvc (default)
rustc 1.48.0 (7eac88abb 2020-11-16)
V:\>rustc -V
rustc 1.48.0 (7eac88abb 2020-11-16)
V:\>type C:\Users\mark\.cargo\config
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
V:\>type myapp\.cargo\config
[cargo-new]
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i686-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
When I build myapp
as an executable, it works fine for me and for many other people.
However, one person says that the executable won't run for them. They have a 64-bit Windows.
According to dependency walker these files:
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
DCOMP.DLL
IESHIMS.DLL
are "delay-load" dependencies that cannot be found. Only the last of these exists on my machine, and anyway, the application runs fine for me.
So, apart from the CRT dependency, are there any other Windows dependencies that I could be missing? And if so, how do I add them?