Skip to content

Commit

Permalink
Merge pull request #51 from Georges760/ci-fix
Browse files Browse the repository at this point in the history
fix CI
  • Loading branch information
quake authored Sep 13, 2024
2 parents 4d654aa + 6c9385b commit 492d769
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.71.1
toolchain: 1.73.0
components: rustfmt
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
Expand All @@ -23,7 +24,7 @@ jobs:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -43,12 +44,13 @@ jobs:
os: windows-2019
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.71.1
toolchain: 1.73.0
components: rustfmt
- name: Run tests
if: runner.os == 'Linux' || runner.os == 'Windows'
uses: actions-rs/cargo@v1
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ pub(crate) enum Vectorization {
#[inline(always)]
pub(crate) fn vectorization_support() -> Vectorization {
#[cfg(all(
any(target_arch = "x86", target_arch = "x86_64"),
target_feature = "sse"
))]
any(target_arch = "x86", target_arch = "x86_64"),
target_feature = "sse"
))]
{
use core::sync::atomic::{AtomicU8, Ordering};
static FLAGS: AtomicU8 = AtomicU8::new(u8::MAX);
Expand Down

0 comments on commit 492d769

Please sign in to comment.