Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI #51

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -44,9 +44,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
Loading