-
Notifications
You must be signed in to change notification settings - Fork 32
Compiling
William Wallace edited this page Nov 3, 2020
·
3 revisions
Windows
- Rust
- Visual Studio 2019 (Older versions may work.)
- 32-bit Rust toolchain (
rustup target add i686-pc-windows-msvc
)
Linux (Ubuntu)
- Rust
- A C++ Compiler
- Debian-based:
sudo apt install build-essential g++-multilib
(and optionally,sudo apt install llvm clang lld
) - Arch-based:
sudo pacman -Syu base-devel
(and optionally,sudo pacman -Syu llvm clang lld
)
- Debian-based:
- 32-bit Rust toolchain (
rustup target add i686-unknown-linux-gnu
)
Now just enter the project's directory and run:
# For Windows builds:
cargo build --release --target=i686-pc-windows-msvc
# For Linux builds:
cargo build --release --target=i686-unknown-linux-gnu