Skip to content

Commit

Permalink
Merge branch 'master' into gd/issue_6457
Browse files Browse the repository at this point in the history
guipublic authored Nov 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 2dcc13f + 29d46fd commit 4a82d91
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_driver/src/lib.rs
Original file line number Diff line number Diff line change
@@ -282,7 +282,7 @@ pub fn add_dep(
///
/// This returns a (possibly empty) vector of any warnings found on success.
/// On error, this returns a non-empty vector of warnings and error messages, with at least one error.
#[tracing::instrument(level = "trace", skip(context))]
#[tracing::instrument(level = "trace", skip_all)]
pub fn check_crate(
context: &mut Context,
crate_id: CrateId,
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -235,6 +235,7 @@
"varargs",
"vecmap",
"vitkov",
"walkdir",
"wasi",
"wasmer",
"Weierstraß",
2 changes: 2 additions & 0 deletions tooling/nargo/src/ops/compile.rs
Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@ pub fn compile_program(
)
}

#[tracing::instrument(level = "trace", name = "compile_program" skip_all, fields(package = package.name.to_string()))]
pub fn compile_program_with_debug_instrumenter(
file_manager: &FileManager,
parsed_files: &ParsedFiles,
@@ -92,6 +93,7 @@ pub fn compile_program_with_debug_instrumenter(
noirc_driver::compile_main(&mut context, crate_id, compile_options, cached_program)
}

#[tracing::instrument(level = "trace", skip_all, fields(package_name = package.name.to_string()))]
pub fn compile_contract(
file_manager: &FileManager,
parsed_files: &ParsedFiles,

0 comments on commit 4a82d91

Please sign in to comment.