• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

perf-toolbox / tir / 9684551096
88%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2024 06:07PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2024 06:05PM UTC coverage: 89.834% (+0.06%) from 89.776%
9684551096

push

github

web-flow
feat: implement op_dyn_cast (#70)

Rust does not allow for casts between traits, meaning it is hard to cast `dyn Op` to `dyn MyTrait` using pure safe Rust. As a temporary workaround (until Rust fixes that issue), implement the following scheme:
1. Users must explicitly register traits, that can be used by passes/analysis. That is easily done with `op_implements` macro.
2. Any user must explicitly add `linkme` as a cargo dependency. Hopefully, this limitation is temporary.
3. To check if the op implements a trait, one could use `op_has_trait`.
4. To dynamically cast OpRef to `Rc<RefCell<dyn MyTrait>>` one could use `op_dyn_cast`.

32 of 34 new or added lines in 5 files covered. (94.12%)

1 existing line in 1 file now uncovered.

1953 of 2174 relevant lines covered (89.83%)

146.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9684551096.1 26 Jun 2024 06:07PM UTC 0
89.83
GitHub Action Run
Source Files on build 9684551096
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9684551096
  • 22eabd95 on github
  • Prev Build on main (#9683935539)
  • Next Build on main (#9684647909)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc