Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

BuiltinProgram::new_mock: use max_call_depth=64 #566

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,10 @@ impl<C: ContextObject> BuiltinProgram<C> {
/// Constructs a mock loader built-in program
pub fn new_mock() -> Self {
Self {
config: Some(Box::default()),
config: Some(Box::new(Config {
max_call_depth: 64,
..Config::default()
})),
functions: FunctionRegistry::default(),
}
}
Expand Down
Loading