Demoscene starter kit for rust
- Clone and follow the build instructions of https://github.com/neosmart/msvcrt.lib
- Create a folder with the following contents:
support\msvcrt.lib
- Run
rustup install nightly
- Run
cargo +nightly run --release
- Observe a nice error:
error: process didn't exit successfully: `target\debug\demoscene_starter_kit.exe` (exit code: 10)
Inspecting the assembly generated we can see:
Most of the work here is not mine and it was possible with the amazing help from cpdt. 99.9% of the work here is copy-pasted from him :)