Skip to content

Clean up alloc feature gates - #571

Merged
ctz merged 3 commits into
mainfrom
jbp-clean-up-alloc-gates
Nov 26, 2026
Merged

ctz merged 3 commits into
mainfrom
jbp-clean-up-alloc-gates

Conversation

@ctz

@ctz ctz commented Nov 26, 2026

Copy link
Copy Markdown
Member

Most of this falls out from the alloc feature gate on RSA signature verification moving into rustls-ring. The dev-dependency from here to rustls-ring unconditionally enables alloc, so nothing in these tests now requires the webpki crate's alloc feature.

ctz added 3 commits November 26, 2026 14:24
These tests were gated on alloc because RSA verification used to
require it. That is no longer the case, so run them in no-alloc
builds too.
The end_entity and rpk_entity test modules, and the Debug/Clone
checks for revocation options, don't need alloc, so run them in
no-alloc builds too. Also drop gates nested inside test modules
that are already gated on alloc.
@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.79%. Comparing base (2b4b026) to head (28d29f7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #571   +/-   ##
=======================================
  Coverage   97.79%   97.79%           
=======================================
  Files          20       20           
  Lines        4395     4395           
=======================================
  Hits         4298     4298           
  Misses         97       97           

☔ View full report in Codecov by Harness.
📢 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.

@cpu cpu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you.

@ctz
ctz added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit bc66b17 Nov 26, 2026
28 checks passed
@ctz
ctz deleted the jbp-clean-up-alloc-gates branch November 26, 2026 16:39
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.

3 participants