diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a24c5fea..a871f098 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: target: x86_64-unknown-linux-gnu cross: true extra-args: "--all-features" + rustflags: "-Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: ubuntu-latest target: i686-unknown-linux-gnu cross: true @@ -51,7 +52,7 @@ jobs: release-name: x86_64-unknown-linux-gnu-static-crt cross: true extra-args: "--all-features" - rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable" + rustflags: "-Ctarget-feature=+crt-static -Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: ubuntu-latest target: i686-unknown-linux-gnu release-name: i686-unknown-linux-gnu-static-crt @@ -95,6 +96,7 @@ jobs: cross: false postfix: ".exe" extra-args: "--all-features" + rustflags: "-Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: windows-latest target: i686-pc-windows-msvc cross: false @@ -107,7 +109,7 @@ jobs: cross: false postfix: ".exe" extra-args: "--all-features" - rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable" + rustflags: "-Ctarget-feature=+crt-static -Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: windows-latest target: i686-pc-windows-msvc release-name: i686-pc-windows-msvc-static-crt @@ -120,6 +122,7 @@ jobs: target: x86_64-apple-darwin cross: false extra-args: "--all-features" + rustflags: "-Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: macos-14 target: aarch64-apple-darwin cross: false @@ -130,7 +133,7 @@ jobs: release-name: x86_64-apple-darwin-static-crt cross: false extra-args: "--all-features" - rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable" + rustflags: "-Ctarget-feature=+crt-static -Ctarget-cpu=sandybridge --cfg tokio_unstable" - os: macos-14 target: aarch64-apple-darwin release-name: aarch64-apple-darwin-static-crt