Skip to content

Commit

Permalink
Merge branch 'master' into tf/parallel-workspace-info
Browse files Browse the repository at this point in the history
* master:
  chore: Embed a file map into `CompiledProgram`/`CompiledContract` (#2666)
  • Loading branch information
TomAFrench committed Sep 12, 2023
2 parents 9f355ae + 4bc42eb commit 39d7763
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tooling/nargo_cli/src/cli/compile_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,8 @@ fn save_program(
save_program_to_file(&preprocessed_program, &package.name, circuit_dir);

if output_debug {
let debug_artifact = DebugArtifact {
debug_symbols: vec![program.debug.clone()],
file_map: program.file_map,
};
let debug_artifact =
DebugArtifact { debug_symbols: vec![program.debug], file_map: program.file_map };
let circuit_name: String = (&package.name).into();
save_debug_artifact_to_file(&debug_artifact, &circuit_name, circuit_dir);
}
Expand Down

0 comments on commit 39d7763

Please sign in to comment.