Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

Downstream crates building fur fuzzing will usually set --cfg=fuzzing as a side-effect of the Rust fuzzing tooling. Thus, we should ensure we build without failure in such cases.

@TheBlueMatt TheBlueMatt added this to the 0.0.116 milestone Jun 20, 2023
@wpaulino
Copy link
Contributor

CI is not happy.

@TheBlueMatt TheBlueMatt force-pushed the 2023-06-fix-fuzz-dep branch from 47a657a to 87c5b48 Compare June 20, 2023 23:14
@TheBlueMatt
Copy link
Collaborator Author

Well I'm not happy with CI. Took a totally different approach tho.

@TheBlueMatt TheBlueMatt force-pushed the 2023-06-fix-fuzz-dep branch 2 times, most recently from ab5c94a to 57bd6f7 Compare June 20, 2023 23:20
Downstream crates building fur fuzzing will usually set
`--cfg=fuzzing` as a side-effect of the Rust fuzzing tooling. Thus,
we should ensure we build without failure in such cases.

We do this here by simply relying on the `_test_utils` feature,
rather than conditionally-compiling in modules based on the
`fuzzing` flag.
@TheBlueMatt TheBlueMatt force-pushed the 2023-06-fix-fuzz-dep branch from 57bd6f7 to e49a1ba Compare June 20, 2023 23:22
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (ba342de) 90.32% compared to head (e49a1ba) 90.31%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2365      +/-   ##
==========================================
- Coverage   90.32%   90.31%   -0.02%     
==========================================
  Files         106      106              
  Lines       54591    54591              
  Branches    54591    54591              
==========================================
- Hits        49311    49303       -8     
- Misses       5280     5288       +8     
Impacted Files Coverage Δ
lightning/src/chain/chainmonitor.rs 94.60% <ø> (ø)
lightning/src/lib.rs 67.74% <ø> (ø)
lightning/src/ln/channelmanager.rs 86.21% <ø> (ø)
lightning/src/util/test_utils.rs 72.55% <ø> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@valentinewallace valentinewallace merged commit 773e8ad into lightningdevkit:main Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants