Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 734 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 734 Bytes

Building

First of all, release builds require a resources/tracks.bin file!

This file can only be generated by running the demo in debug mode, loading sync.rocket in the GNU Rocket client, and then exiting the demo window.

After you have resources/tracks.bin, for building x86_64 and aarch64 release binaries, a podman container can be generated:
podman build -t rustbuild .

Then, binaries can be built using it:
podman run -v .:/build -w /build rustbuild cargo build --release --target x86_64-unknown-linux-gnu
podman run -v .:/build -w /build rustbuild cargo build --release --target aarch64-unknown-linux-gnu
podman run -v .:/build -w /build rustbuild cargo build --release --target x86_64-pc-windows-gnu