Open jxqu3 opened 7 months ago
What worked for me was adding
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
to my .cargo/config file. This will tell the compiler to statically link with crt, and include the DLL in the exe.
I built a game with raylib-rs and built it with
What do I need to ship with the executable to make it work on Windows? Also, on linux, it says it needs libc to run too, is there any way to build it with the dependencies built into a standalone?
cargo build --release
from Windows 11. I runs fine in my PC but when trying on a VM it does not run.