@@ -125,6 +125,7 @@ pub(super) fn to_targets(
125
125
Ok ( targets)
126
126
}
127
127
128
+ #[ tracing:: instrument( skip_all) ]
128
129
pub fn resolve_lib (
129
130
original_lib : Option < & TomlLibTarget > ,
130
131
package_root : & Path ,
@@ -174,6 +175,7 @@ pub fn resolve_lib(
174
175
Ok ( Some ( lib) )
175
176
}
176
177
178
+ #[ tracing:: instrument( skip_all) ]
177
179
fn to_lib_target (
178
180
original_lib : Option < & TomlLibTarget > ,
179
181
resolved_lib : Option < & TomlLibTarget > ,
@@ -250,6 +252,7 @@ fn to_lib_target(
250
252
Ok ( Some ( target) )
251
253
}
252
254
255
+ #[ tracing:: instrument( skip_all) ]
253
256
pub fn resolve_bins (
254
257
toml_bins : Option < & Vec < TomlBinTarget > > ,
255
258
package_root : & Path ,
@@ -299,6 +302,7 @@ pub fn resolve_bins(
299
302
Ok ( bins)
300
303
}
301
304
305
+ #[ tracing:: instrument( skip_all) ]
302
306
fn to_bin_targets (
303
307
features : & Features ,
304
308
bins : & [ TomlBinTarget ] ,
@@ -376,6 +380,7 @@ fn legacy_bin_path(package_root: &Path, name: &str, has_lib: bool) -> Option<Pat
376
380
None
377
381
}
378
382
383
+ #[ tracing:: instrument( skip_all) ]
379
384
pub fn resolve_examples (
380
385
toml_examples : Option < & Vec < TomlExampleTarget > > ,
381
386
package_root : & Path ,
@@ -402,6 +407,7 @@ pub fn resolve_examples(
402
407
Ok ( targets)
403
408
}
404
409
410
+ #[ tracing:: instrument( skip_all) ]
405
411
fn to_example_targets (
406
412
targets : & [ TomlExampleTarget ] ,
407
413
package_root : & Path ,
@@ -431,6 +437,7 @@ fn to_example_targets(
431
437
Ok ( result)
432
438
}
433
439
440
+ #[ tracing:: instrument( skip_all) ]
434
441
pub fn resolve_tests (
435
442
toml_tests : Option < & Vec < TomlTestTarget > > ,
436
443
package_root : & Path ,
@@ -457,6 +464,7 @@ pub fn resolve_tests(
457
464
Ok ( targets)
458
465
}
459
466
467
+ #[ tracing:: instrument( skip_all) ]
460
468
fn to_test_targets (
461
469
targets : & [ TomlTestTarget ] ,
462
470
package_root : & Path ,
@@ -479,6 +487,7 @@ fn to_test_targets(
479
487
Ok ( result)
480
488
}
481
489
490
+ #[ tracing:: instrument( skip_all) ]
482
491
pub fn resolve_benches (
483
492
toml_benches : Option < & Vec < TomlBenchTarget > > ,
484
493
package_root : & Path ,
@@ -522,6 +531,7 @@ pub fn resolve_benches(
522
531
Ok ( targets)
523
532
}
524
533
534
+ #[ tracing:: instrument( skip_all) ]
525
535
fn to_bench_targets (
526
536
targets : & [ TomlBenchTarget ] ,
527
537
package_root : & Path ,
@@ -1039,6 +1049,7 @@ Cargo doesn't know which to use because multiple target files found at `{}` and
1039
1049
}
1040
1050
1041
1051
/// Returns the path to the build script if one exists for this crate.
1052
+ #[ tracing:: instrument( skip_all) ]
1042
1053
pub fn resolve_build ( build : Option < & StringOrBool > , package_root : & Path ) -> Option < StringOrBool > {
1043
1054
const BUILD_RS : & str = "build.rs" ;
1044
1055
match build {
0 commit comments