nucleo-l053r8-benches/scripts/bench_algorithms.sh

6 lines
271 B
Bash
Executable file

#!/bin/bash
# I'm using a bash script because if i set the target in .cargo/config.toml
# i can't build for x86_64 anymore, which means I can't run the unit tests.
TARGET="x86_64-unknown-linux-gnu"
cd crates/algorithms
cargo bench --target $TARGET --no-default-features