Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Jan 18, 2024
1 parent 405e8ff commit 5f84875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ compare_trace_memory: $(CAIRO_RS_TRACE) $(CAIRO_TRACE) $(CAIRO_RS_MEM) $(CAIRO_M
cd vm/src/tests; ./compare_vm_state.sh trace memory

compare_all_no_proof: $(CAIRO_RS_TRACE) $(CAIRO_TRACE) $(CAIRO_RS_MEM) $(CAIRO_MEM) $(CAIRO_RS_PIE) $(CAIRO_PIE)
cd vm/src/tests; ./compare_vm_state.sh trace memory
cd vm/src/tests; ./compare_vm_state.sh trace memory pie

compare_trace: $(CAIRO_RS_TRACE) $(CAIRO_TRACE)
cd vm/src/tests; ./compare_vm_state.sh trace
Expand Down
4 changes: 2 additions & 2 deletions cairo-vm-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ fn run(args: impl Iterator<Item = String>) -> Result<(), Error> {
std::fs::write(file_path, json)?;
}

if let Some(file_name) = args.cairo_pie_output {
let file_path = Path::new(&file_name);
if let Some(ref file_name) = args.cairo_pie_output {
let file_path = Path::new(file_name);
cairo_runner
.get_cairo_pie(&vm)
.map_err(CairoRunError::Runner)?
Expand Down

0 comments on commit 5f84875

Please sign in to comment.