We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e7077 commit ddd8e97Copy full SHA for ddd8e97
vm/src/vm/runners/cairo_runner.rs
@@ -165,6 +165,9 @@ pub struct CairoRunnerBuilder {
165
// Set after loading program.
166
loaded_program: bool,
167
// Set after compiling hints.
168
+ // NOTE: To avoid breaking the API, we are wrapping the hint in an
169
+ // Rc<Box<T>>. This is because the current API expects a Box, but we need an
170
+ // Rc to make it clonable
171
hints: Option<Vec<Rc<Box<dyn Any>>>>,
172
// Set after loading instruction cache.
173
instructions: Vec<Option<Instruction>>,
0 commit comments