From a159f48900f1927b05d4b8f3d04459610eb9897e Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 29 Aug 2026 03:11:42 +0200 Subject: setup: prepare c rewrite --- examples/tester/main.c | 9 +++++++++ examples/tester/main.rs | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 examples/tester/main.c (limited to 'examples/tester') diff --git a/examples/tester/main.c b/examples/tester/main.c new file mode 100644 index 0000000..9a9428f --- /dev/null +++ b/examples/tester/main.c @@ -0,0 +1,9 @@ +#include + +#include "psi.h" + +int main(void) +{ + printf("psi %s\n", psi_version()); + return 0; +} diff --git a/examples/tester/main.rs b/examples/tester/main.rs index 8a9a41c..ecebd34 100644 --- a/examples/tester/main.rs +++ b/examples/tester/main.rs @@ -67,6 +67,7 @@ fn main() { if run_clifford { clifford::run_all(&mut results); } + if run_non_clifford { non_clifford::run_all(&mut results); @@ -91,6 +92,7 @@ fn main() { if run_bench { benchmarks::run_all(&mut results); } + if !results.is_empty() { print_benchmark_table(&results); -- cgit v1.3