Skip to content

Move try_get_metadata into HugrView implementation

60f1585
Select commit
Loading
Failed to load commit list.
Open

feat(hugr-llvm)!: Add support for emitting debug locations #3026

Move try_get_metadata into HugrView implementation
60f1585
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 29, 2026 in 0s

81.36% (+0.04%) compared to 59ea9a0

View this Pull Request on Codecov

81.36% (+0.04%) compared to 59ea9a0

Details

Codecov Report

❌ Patch coverage is 80.33058% with 119 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.36%. Comparing base (59ea9a0) to head (60f1585).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
hugr-llvm/src/emit/debug_info.rs 85.52% 53 Missing and 12 partials ⚠️
hugr-core/src/hugr/views/render.rs 25.00% 21 Missing ⚠️
hugr-llvm/src/emit/func.rs 75.67% 6 Missing and 3 partials ⚠️
hugr-cli/src/mermaid.rs 25.00% 5 Missing and 1 partial ⚠️
hugr-llvm/src/emit.rs 82.35% 6 Missing ⚠️
hugr-core/src/metadata/debug_info.rs 50.00% 4 Missing ⚠️
hugr-llvm/src/emit/ops.rs 33.33% 0 Missing and 4 partials ⚠️
hugr-persistent/src/trait_impls.rs 0.00% 3 Missing ⚠️
hugr-core/src/hugr/views.rs 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3026      +/-   ##
==========================================
+ Coverage   81.31%   81.36%   +0.04%     
==========================================
  Files         240      242       +2     
  Lines       45399    45984     +585     
  Branches    39167    39752     +585     
==========================================
+ Hits        36918    37413     +495     
- Misses       6491     6566      +75     
- Partials     1990     2005      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.