twilight-rs / twilight

Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
https://discord.gg/twilight-rs
ISC License
658 stars 130 forks source link

fix(ci): Target haswell for docs deploy #2246

Closed Gelbpunkt closed 1 year ago

Gelbpunkt commented 1 year ago

-C target-cpu=native causes illegal instructions when using actions cache due to Github Actions' wide range of CPU targets. haswell is the earliest target level with mandatory AVX2 and will work fine with everything more recent than that. This also matches our flags in other workflows.