# This field required, but its will change nothing if script = "" specified. build_system = "Cargo" # For example, supported build systems: # Enumerate from src/pkgtoolkit # pub enum BuildSystems { # Make, # CMake, # Meson, # Cargo # } # Environment variables, can be empty or removed env = """ export RUSTFLAGS="-C target-cpu=native" export CARGO_TARGET_DIR="$PWD/target" """ # Custom script like from INSTALL script = """ cargo build --release --target-dir=target strip target/release/mesk """