Skip to content

Enable flate2's runtime_detection feature - #628

Merged
edmorley merged 1 commit into
mainfrom
edmorley/flate2-zlib-rs
Oct 2, 2026
Merged

edmorley merged 1 commit into
mainfrom
edmorley/flate2-zlib-rs

Conversation

@edmorley

@edmorley edmorley commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

As of flate2 1.1.10, runtime CPU feature detection (and so SIMD acceleration) in zlib-rs is gated behind the new runtime_detection default feature, which is disabled by our use of default-features = false, so has to be enabled explicitly. The flate2 docs don't currently mention this, see: rust-lang/flate2-rs#570

GUS-W-24154015.

@edmorley edmorley self-assigned this Oct 2, 2026
As of `flate2` 1.1.10, runtime CPU feature detection (and so SIMD
acceleration) in `zlib-rs` is gated behind the new `runtime_detection`
default feature, which is disabled by our use of
`default-features = false`, so has to be enabled explicitly. The
`flate2` docs don't currently mention this, see:
rust-lang/flate2-rs#570

GUS-W-24154015.
@edmorley
edmorley force-pushed the edmorley/flate2-zlib-rs branch from a12bcdf to d99d844 Compare October 2, 2026 16:14
@edmorley
edmorley marked this pull request as ready for review October 2, 2026 16:27
@edmorley
edmorley enabled auto-merge (squash) October 2, 2026 16:27
@edmorley
edmorley merged commit 8f7ff1f into main Oct 2, 2026
13 checks passed
@edmorley
edmorley deleted the edmorley/flate2-zlib-rs branch October 2, 2026 16:56
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