Skip to content

Commit

Permalink
[CI] Upgrade to rust 1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed May 2, 2024
1 parent aadcfa2 commit a08dd10
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cargo-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [1.76.0]
toolchain: [1.78.0]
include:
- os: windows-latest
toolchain: 1.76.0-x86_64-pc-windows-gnu
toolchain: 1.78.0-x86_64-pc-windows-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [1.76.0]
toolchain: [1.78.0]
include:
- os: windows-latest
toolchain: 1.76.0-x86_64-pc-windows-gnu
toolchain: 1.78.0-x86_64-pc-windows-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.76.0
toolchain: 1.78.0
components: rustfmt
- run: cargo fmt -- --check

Expand All @@ -59,10 +59,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [1.76.0, 1.70.0]
toolchain: [1.78.0, 1.70.0]
include:
- os: windows-latest
toolchain: 1.76.0-x86_64-pc-windows-gnu
toolchain: 1.78.0-x86_64-pc-windows-gnu
- os: windows-latest
toolchain: 1.70.0-x86_64-pc-windows-gnu
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions CI/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def install(self):
]


def install_rust(version='1.76.0', target='x86_64-unknown-linux-gnu'):
def install_rust(version='1.78.0', target='x86_64-unknown-linux-gnu'):
rustup_opts = '-y --default-toolchain none'
cargo_dir = '$HOME/.cargo/bin/'
rustup = cargo_dir + 'rustup'
Expand Down Expand Up @@ -432,7 +432,7 @@ def prefix(p, s):
f'/sysroot-{arch}/usr/share/pkgconfig',
))
if variant in ('coverage', 'asan'):
rust_install = install_rust('nightly-2023-12-22', rust_target)
rust_install = install_rust('nightly-2024-03-18', rust_target)
elif rust_version:
rust_install = install_rust(rust_version, target=rust_target)
else:
Expand Down

0 comments on commit a08dd10

Please sign in to comment.