From 824c350cda18e50610216aec18cd74d950990af1 Mon Sep 17 00:00:00 2001 From: pompydev Date: Sat, 25 May 2024 21:13:31 +0900 Subject: [PATCH] chore: add rust build and bench scripts --- rust/rust.justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust/rust.justfile b/rust/rust.justfile index 00daf75..31c6b11 100644 --- a/rust/rust.justfile +++ b/rust/rust.justfile @@ -1,2 +1,8 @@ +@build-rust: + cd rust && cargo build --release + @run-rust: cd rust && cargo run --quiet < ../input.txt + +@bench-rust: build-rust + hyperfine './rust/target/release/playground < ./input.txt'