seanmonstar / httparse

A push parser for the HTTP 1.x protocol in Rust.
https://docs.rs/httparse
Apache License 2.0
573 stars 113 forks source link

disable avx2 on 32bit archs temporarily #43

Closed seanmonstar closed 6 years ago

seanmonstar commented 6 years ago

As reported in #42, the _tzcnt_u64 function isn't defined on x86, and so causes compilation errors. As a quick fix, this simply disables avx2 on that arch.

seanmonstar commented 6 years ago

The CI failure is due to Rust nightly being broken, all the other jobs pass, and this fixes the issue.