-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump toolchain and revert llvm issue patch
- Loading branch information
1 parent
a194fad
commit 572d70a
Showing
15 changed files
with
40 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: rustfmt | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/rust_fmt.sh --check | ||
|
||
|
@@ -36,7 +36,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
components: clippy | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: scripts/clippy.sh | ||
|
||
|
@@ -46,17 +46,17 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 doc | ||
- run: cargo +nightly-2025-02-05 doc | ||
|
||
run-wasm32-wasip1-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
targets: wasm32-wasip1 | ||
- uses: taiki-e/install-action@v2 | ||
with: | ||
|
@@ -73,7 +73,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
targets: wasm32-unknown-unknown | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: jetli/[email protected] | ||
|
@@ -89,9 +89,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 test | ||
- run: cargo +nightly-2025-02-05 test | ||
env: | ||
RUSTFLAGS: -C target-feature=+neon | ||
|
||
|
@@ -104,9 +104,9 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 test | ||
- run: cargo +nightly-2025-02-05 test | ||
env: | ||
RUSTFLAGS: -C target-cpu=native -C target-feature=+${{ matrix.target-feature }} | ||
|
||
|
@@ -116,7 +116,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- name: Run benchmark | ||
run: | | ||
cargo install cargo-criterion | ||
|
@@ -144,7 +144,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- name: Run benchmark | ||
run: | | ||
cargo install cargo-criterion | ||
|
@@ -172,29 +172,29 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 test | ||
- run: cargo +nightly-2025-02-05 test | ||
|
||
run-slow-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 test --release --features="slow-tests" | ||
- run: cargo +nightly-2025-02-05 test --release --features="slow-tests" | ||
|
||
run-tests-parallel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: nightly-2025-01-02 | ||
toolchain: nightly-2025-02-05 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo +nightly-2025-01-02 test --features="parallel" | ||
- run: cargo +nightly-2025-02-05 test --features="parallel" | ||
|
||
machete: | ||
runs-on: ubuntu-latest | ||
|
@@ -205,9 +205,9 @@ jobs: | |
toolchain: nightly-2024-01-04 | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Install Machete | ||
run: cargo +nightly-2025-01-02 install --locked cargo-machete | ||
run: cargo +nightly-2025-02-05 install --locked cargo-machete | ||
- name: Run Machete (detect unused dependencies) | ||
run: cargo +nightly-2025-01-02 machete | ||
run: cargo +nightly-2025-02-05 machete | ||
|
||
all-tests: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[toolchain] | ||
channel = "nightly-2025-01-02" | ||
channel = "nightly-2025-02-05" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
cargo +nightly-2025-01-02 clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \ | ||
cargo +nightly-2025-02-05 clippy "$@" --all-targets --all-features -- -D warnings -D future-incompatible \ | ||
-D nonstandard-style -D rust-2018-idioms -D unused |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cargo +nightly-2025-01-02 fmt --all -- "$@" | ||
cargo +nightly-2025-02-05 fmt --all -- "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
# Can be used as a drop in replacement for `cargo test` with avx512f flag on. | ||
# For example, `./scripts/test_avx.sh` will run all tests(not only avx). | ||
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo +nightly-2025-01-02 test "$@" | ||
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=2" cargo +nightly-2025-02-05 test "$@" |