1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

switch off release mode on tests

This commit is contained in:
schaeff 2020-07-06 17:02:10 +02:00
parent 06a8262e73
commit 83d0a29912

View file

@ -108,12 +108,14 @@ fn compile_and_run<T: Field>(t: Tests) {
code,
t.entry_point.clone(),
Some(&resolver),
&CompileConfig::default().with_is_release(true),
&CompileConfig::default(),
)
.unwrap();
let bin = artifacts.prog();
println!("NOTE: We do not compile in release mode here, so the metrics below are conservative");
match t.max_constraint_count {
Some(target_count) => {
let count = bin.constraint_count();