switch off release mode on tests
This commit is contained in:
parent
06a8262e73
commit
83d0a29912
1 changed files with 3 additions and 1 deletions
|
@ -108,12 +108,14 @@ fn compile_and_run<T: Field>(t: Tests) {
|
||||||
code,
|
code,
|
||||||
t.entry_point.clone(),
|
t.entry_point.clone(),
|
||||||
Some(&resolver),
|
Some(&resolver),
|
||||||
&CompileConfig::default().with_is_release(true),
|
&CompileConfig::default(),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let bin = artifacts.prog();
|
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 {
|
match t.max_constraint_count {
|
||||||
Some(target_count) => {
|
Some(target_count) => {
|
||||||
let count = bin.constraint_count();
|
let count = bin.constraint_count();
|
||||||
|
|
Loading…
Reference in a new issue