- Install
just(cargo install just). - Update the lib paths in
.cargo/config.tomlto match yours. If you want to build for a system that is already supported natively by your default msvc installation, you can remove these or comment them out. - Update the variables in the
justfile. The rust9x toolchain name andeditbin.exepath (from your modern msvc build tools) in particular are important. - Use
just build --releaseto build using the rust9x toolchain, and regularcargofor normal toolchain builds.
- Make sure to put
hh3gf.golden.exenext to the executable for testing. - If you plan on testing on Windows 9x/ME, make sure to place
unicows.dllnext to the executable - If you link dynamically, make sure to provide the necessary runtime libraries.
hh3gf.golden.exe is taken from https://github.com/pts/pts-tinype to test stdout redirection.