From 4db1509473a2adc5a11e108827522e020b75d7f0 Mon Sep 17 00:00:00 2001 From: Stefan Lippuner <3071885+stefanlippuner@users.noreply.github.com> Date: Sun, 10 Sep 2023 16:44:39 +0200 Subject: [PATCH] Pin Rust toolchain version to v1.66 Newer toolchains cause stack overflow errors in some tests. That may be related to a memory alignment change in Rust v1.67 (https://github.com/rust-lang/rust/pull/102750/) --- .github/workflows/ci.yml | 4 ++-- rust-toolchain.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6868260b..66b93af03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.66 override: true components: rustfmt, clippy @@ -43,7 +43,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.66 override: true components: rustfmt, clippy diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..c08d70f5a --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.66" +