Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed May 18, 2023
1 parent f719117 commit 458ed98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/nargo_cli/src/cli/check_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn check_from_path<B: Backend, P: AsRef<Path>>(
let mut driver = Resolver::resolve_root_manifest(
p.as_ref(),
backend.np_language(),
Box::new(backend.supports_opcode),
Box::new(|op| backend.supports_opcode(op)),
)?;

driver.check_crate(compile_options).map_err(|_| CliError::CompilationError)?;
Expand Down
2 changes: 1 addition & 1 deletion crates/nargo_cli/src/cli/compile_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn setup_driver<B: Backend>(
Resolver::resolve_root_manifest(
program_dir,
backend.np_language(),
Box::new(backend.supports_opcode),
Box::new(|op| backend.supports_opcode(op)),
)
}

Expand Down
2 changes: 1 addition & 1 deletion crates/nargo_cli/src/cli/test_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn run_tests<B: Backend>(
let mut driver = Resolver::resolve_root_manifest(
program_dir,
backend.np_language(),
Box::new(backend.supports_opcode),
Box::new(|op| backend.supports_opcode(op)),
)?;

driver.check_crate(compile_options).map_err(|_| CliError::CompilationError)?;
Expand Down

0 comments on commit 458ed98

Please sign in to comment.