diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-12-07 14:29:35 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-12-07 14:29:35 +0300 |
| commit | 778a979e2e774e1b2e91227fa2db2e56d41927c1 (patch) | |
| tree | ae1560e203477a90edc089c1832e37af83f43540 /examples/BUILD | |
| parent | e7c49d685efe768c0c1d9c66da7b93b6e118b305 (diff) | |
Fixed logical issues
Diffstat (limited to 'examples/BUILD')
| -rw-r--r-- | examples/BUILD | 8 |
1 files changed, 5 insertions, 3 deletions
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 """ |
