-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Consider the deeply nested expressions that might be used in precompiled circuits, we should adjust the stack size. For example, I adjust it to 32M when running weierstrass addition in the rust code. However, I haven't find a good way to adjust the stack size in benches/
. I tried:
RUST_MIN_STACK=... cargo bench -p ceno_zkvm --bench weierstrass_add
RUSTFLAGS="-C link-args=-Wl,-z,stack-size=33554432" cargo bench --bench weierstrass_add
Neither of them works.
Now I temporarily remove criterion_main!
and use a self-defined main function to resolve the issue, while waiting for a better way to do it.
For more details, see the following:
#1072
hero78119
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers