Skip to content

Commit

Permalink
update latest rust stable version (#147)
Browse files Browse the repository at this point in the history
* update latest stable rust version

* clippy fix

* commit

* debug

* set windows off

---------

Co-authored-by: Tianyu Zhang <[email protected]>
  • Loading branch information
serendipity-crypto and tnyuzg authored Sep 6, 2024
1 parent 15caa7e commit 02b7c08
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ env:
# version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still
# come automatically. If the version specified here is no longer the latest stable version,
# then please feel free to submit a PR that adjusts it along with the potential clippy fixes.
RUST_STABLE_VER: "1.80" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
RUST_STABLE_VER: "1.81" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
# The purpose of checking with the minimum supported Rust toolchain is to detect its staleness.
# If the compilation fails, then the version specified here needs to be bumped up to reality.
# Be sure to also update the rust-version property in the workspace Cargo.toml file,
Expand Down Expand Up @@ -48,7 +48,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -80,7 +81,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
# We intentionally do not use lfs: true here, instead using the caching method to save LFS bandwidth.
Expand Down Expand Up @@ -111,7 +113,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions algebra/src/utils/sse2neon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ macro_rules! _mm_aeskeygenassist_si128 {
vreinterpretq_u8_u32(vld1q_u32(
[
x1,
((x1 >> 8) | (x1 << 24)) ^ $rcon,
(x1.rotate_right(8) | (x1 << 24)) ^ $rcon,
x3,
((x3 >> 8) | (x3 << 24)) ^ $rcon,
(x3.rotate_right(8) | (x3 << 24)) ^ $rcon,
]
.as_ptr(),
))
Expand Down
3 changes: 2 additions & 1 deletion pcs/tests/test_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ fn code_distance_test() {
.for_each(|x| *x = rng.sample(field_distr));

let mut target_1 = target_0.clone();
let check_times = 30;

let check_times = 31;
for _ in 0..check_times {
target_1[0] += FF32::one();
brakedown_code.encode(&mut target_0);
Expand Down

0 comments on commit 02b7c08

Please sign in to comment.