Skip to content

Commit ddd8e97

Browse files
Add comment
1 parent c6e7077 commit ddd8e97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vm/src/vm/runners/cairo_runner.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ pub struct CairoRunnerBuilder {
165165
// Set after loading program.
166166
loaded_program: bool,
167167
// 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
168171
hints: Option<Vec<Rc<Box<dyn Any>>>>,
169172
// Set after loading instruction cache.
170173
instructions: Vec<Option<Instruction>>,

0 commit comments

Comments
 (0)