From 778a979e2e774e1b2e91227fa2db2e56d41927c1 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Sun, 7 Dec 2025 14:29:35 +0300 Subject: Fixed logical issues --- examples/BUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'examples/BUILD') diff --git a/examples/BUILD b/examples/BUILD index 2684855..8ab88f5 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -1,5 +1,5 @@ # This field required, but its will change nothing if script = "" specified. -build_system = "CMake" # For example, supported build systems: +build_system = "Cargo" # For example, supported build systems: # Enumerate from src/pkgtoolkit # pub enum BuildSystems { # Make, @@ -10,10 +10,12 @@ build_system = "CMake" # For example, supported build systems: # Environment variables, can be empty or removed env = """ - export SHELL=/usr/bin/zsh + export RUSTFLAGS="-C target-cpu=native" + export CARGO_TARGET_DIR="$PWD/target" """ # Custom script like from INSTALL script = """ - make -j6 -f build/Makefile all + cargo build --release --target-dir=target + strip target/release/mesk """ -- cgit v1.2.3