mirror of
https://github.com/luxfi/zkvm-benchmarks.git
synced 2026-10-30 15:11:25 +00:00
* feat: add modpow for sp1 * style: cargo fmt * chore: remove useless code * chore: upgrade zkmips * chore: upgrade sp1 * chore: update sp1 prover * chore: update provers * style: cargo fmt * fix: sp1 modpow
23 lines
477 B
Rust
23 lines
477 B
Rust
use std::{
|
|
io::{Error, Result},
|
|
path::PathBuf,
|
|
};
|
|
|
|
use sp1_build::build_program_with_args;
|
|
|
|
fn main() -> Result<()> {
|
|
let tests_path = [env!("CARGO_MANIFEST_DIR"), "programs"]
|
|
.iter()
|
|
.collect::<PathBuf>()
|
|
.canonicalize()?;
|
|
|
|
build_program_with_args(
|
|
tests_path
|
|
.to_str()
|
|
.ok_or_else(|| Error::other(format!("expected {tests_path:?} to be valid UTF-8")))?,
|
|
Default::default(),
|
|
);
|
|
|
|
Ok(())
|
|
}
|