Skip to content

Commit

Permalink
feat: upgrade to Rust 1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed May 3, 2024
1 parent bc390cd commit 7473119
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
GH_TOKEN: ${{ github.token }}
RUSTUP_TOOLCHAIN: 1.77.2
RUSTUP_TOOLCHAIN: 1.78.0

jobs:
dist:
Expand All @@ -21,9 +21,18 @@ jobs:
repository: rust-lang/rust
ref: ${{ env.RUSTUP_TOOLCHAIN }}
path: rust
- name: Install arch-specific GCC variants
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu gcc-x86-64-linux-gnu
- name: Build rust-std distribution artifacts
run: ./x.py dist --config ../rust-config.toml rust-std
run: ./x dist --config ../rust-config.toml rust-std
working-directory: ./rust
env:
CC_aarch64_unknown_hermit: aarch64-linux-gnu-gcc
CC_riscv64gc_unknown_hermit: riscv64-linux-gnu-gcc
CFLAGS_riscv64gc_unknown_hermit: -march=rv64gc -mabi=lp64d
CC_x86_64_unknown_hermit: x86_64-linux-gnu-gcc
- name: Create distribution artifacts
run: |
./dist.sh ${{ env.RUSTUP_TOOLCHAIN }} aarch64-unknown-hermit
Expand Down
2 changes: 1 addition & 1 deletion rust-config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
changelog-seen = 2
change-id = 121754

[llvm]
download-ci-llvm = true
Expand Down

0 comments on commit 7473119

Please sign in to comment.