diff options
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 """ |
