Skip to content

Comments

gate tests on features they use#475

Merged
folkertdev merged 2 commits intotrifectatechfoundation:mainfrom
alexanderkjall:gate-tests
Feb 22, 2026
Merged

gate tests on features they use#475
folkertdev merged 2 commits intotrifectatechfoundation:mainfrom
alexanderkjall:gate-tests

Conversation

@alexanderkjall
Copy link
Contributor

@alexanderkjall
Copy link
Contributor Author

I missed that this was already forwarded, closing.

@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
fuzz-compress ?
fuzz-decompress ?
test-aarch64-apple-darwin 85.57% <ø> (ø)
test-aarch64-unknown-linux-gnu 85.50% <ø> (ø)
test-i686-unknown-linux-gnu 85.21% <ø> (+0.01%) ⬆️
test-x86_64-apple-darwin 84.85% <ø> (ø)
test-x86_64-unknown-linux-gnu 90.88% <ø> (-2.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
zlib-rs/src/adler32/neon.rs 100.00% <ø> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

}

#[cfg(test)]
#[cfg(all(test, feature = "std", target_feature = "neon"))]
Copy link
Member

Choose a reason for hiding this comment

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

Can you change this to

Suggested change
#[cfg(all(test, feature = "std", target_feature = "neon"))]
#[cfg(all(test, feature = "std", any(miri, target_feature = "neon")))]

That way Miri can still find places where we assume a target feature but don't declare it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry for taking up your time, this is the same as #416 i think

Copy link
Member

Choose a reason for hiding this comment

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

this one is for neon, that one for avx? This looks fine to me with the miri change, because neon is enabled by default on the linux and macos runners. The same is not true for x86, which makes it trickier.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe it was me that misunderstood, I'll reopen with the suggested improvement.

@folkertdev folkertdev merged commit 09746ed into trifectatechfoundation:main Feb 22, 2026
58 checks passed
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.

2 participants