Skip to content

Commit

Permalink
ci: fix Rust version to 1.77 (#539)
Browse files Browse the repository at this point in the history
Our release binaries are crashing when built by Rust 1.78.

Suspected cause: Rust 1.78 upgraded LLVM from v17 to v18, perhaps
our ancient Deno version is not compatible with that.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
  • Loading branch information
bajtos committed May 13, 2024
1 parent 320b14d commit d7b12ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
with:
Expand All @@ -135,7 +135,7 @@ jobs:

- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77
components: clippy

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
Expand All @@ -159,7 +159,7 @@ jobs:

- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77
components: rustfmt

- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Setup | Rust
uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
with:
toolchain: stable
toolchain: 1.77
target: ${{ matrix.target }}

- name: Setup | Cross
Expand Down

0 comments on commit d7b12ce

Please sign in to comment.