Add feature to svm deps#6440
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6440 +/- ##
========================================
Coverage 82.7% 82.8%
========================================
Files 851 851
Lines 380034 379954 -80
========================================
+ Hits 314668 314748 +80
+ Misses 65366 65206 -160 🚀 New features to boost your workflow:
|
|
It looks like the feature is only necessary when we build with debug_assertions: agave/svm/src/transaction_processor.rs Lines 863 to 864 in 3e58350 Would something like this in the toml file work? |
|
@LucasSte that works. I've added the line to the manifest. |
|
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
|
I think this is ready to go. I've sorted the dependencies and the publish simulator passes with this change. |
(cherry picked from commit b22b23f) # Conflicts: # svm/Cargo.toml
|
I got the following warning building the tip of master: Looking up the docs here:
|
|
@steviez was this when trying to build? Why did CI pass 😅 ? |
It was just a warning, we've discussed failing for warnings previously but not actually in there right now. If you checkout tip-of-master and just run |
|
K, I got the same warning when trying to build. I'll submit a new PR which reverts this change and instead adds the feature to the dep. From that warning message and what I could find in the rust docs, that target simply does nothing. |
Problem
Publishing this crate fails because of missing features
Summary of Changes
Add
debug-signaturefeature to the dependencies that require it.Required to fix CI for #6332