Skip to content

Commit 0abb9b6

Browse files
committed
Update to rust 1.82.0
Signed-off-by: Sean Young <sean@mess.org>
1 parent 71f0aa3 commit 0abb9b6

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
18-
- uses: dtolnay/rust-toolchain@1.81.0
18+
- uses: dtolnay/rust-toolchain@1.82.0
1919
- name: Build
2020
run: cargo build --verbose --release
2121
- name: Run tests
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
sudo apt-get update
4343
sudo apt-get install -y gcc g++ make
44-
- uses: dtolnay/rust-toolchain@1.81.0
44+
- uses: dtolnay/rust-toolchain@1.82.0
4545
- name: Get LLVM
4646
run: curl -sSL --output llvm16.0-linux-arm64.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-linux-arm64.tar.xz
4747
- name: Extract LLVM
@@ -74,7 +74,7 @@ jobs:
7474
run: unzip c:\llvm.zip -d c:/
7575
- name: Add LLVM to Path
7676
run: echo "c:\llvm16.0\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
77-
- uses: dtolnay/rust-toolchain@1.81.0
77+
- uses: dtolnay/rust-toolchain@1.82.0
7878
with:
7979
components: clippy
8080
- name: Build
@@ -97,7 +97,7 @@ jobs:
9797
uses: actions/checkout@v4
9898
with:
9999
submodules: recursive
100-
- uses: dtolnay/rust-toolchain@1.81.0
100+
- uses: dtolnay/rust-toolchain@1.82.0
101101
- name: Get LLVM
102102
run: curl -sSL --output llvm16.0-mac-arm.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-arm.tar.xz
103103
- name: Extract LLVM
@@ -124,7 +124,7 @@ jobs:
124124
uses: actions/checkout@v4
125125
with:
126126
submodules: recursive
127-
- uses: dtolnay/rust-toolchain@1.81.0
127+
- uses: dtolnay/rust-toolchain@1.82.0
128128
- name: Get LLVM
129129
run: wget -q -O llvm16.0-mac-intel.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-intel.tar.xz
130130
- name: Extract LLVM

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install Rust
7070
uses: dtolnay/rust-toolchain@master
7171
with:
72-
toolchain: 1.81.0
72+
toolchain: 1.82.0
7373
components: |
7474
llvm-tools
7575
clippy
@@ -126,7 +126,7 @@ jobs:
126126
run: |
127127
sudo apt-get update
128128
sudo apt-get install -y gcc g++ make
129-
- uses: dtolnay/rust-toolchain@1.81.0
129+
- uses: dtolnay/rust-toolchain@1.82.0
130130
- name: Get LLVM
131131
run: curl -sSL --output llvm16.0-linux-arm64.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-linux-arm64.tar.xz
132132
- name: Extract LLVM
@@ -159,7 +159,7 @@ jobs:
159159
# Use C:\ as D:\ might run out of space
160160
- name: "Use C: for rust temporary files"
161161
run: echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
162-
- uses: dtolnay/rust-toolchain@1.81.0
162+
- uses: dtolnay/rust-toolchain@1.82.0
163163
with:
164164
components: clippy
165165
# We run clippy on Linux in the lint job above, but this does not check #[cfg(windows)] items
@@ -185,7 +185,7 @@ jobs:
185185
uses: actions/checkout@v4
186186
with:
187187
submodules: recursive
188-
- uses: dtolnay/rust-toolchain@1.81.0
188+
- uses: dtolnay/rust-toolchain@1.82.0
189189
- name: Get LLVM
190190
run: curl -sSL --output llvm16.0-mac-arm.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-arm.tar.xz
191191
- name: Extract LLVM
@@ -211,7 +211,7 @@ jobs:
211211
uses: actions/checkout@v4
212212
with:
213213
submodules: recursive
214-
- uses: dtolnay/rust-toolchain@1.81.0
214+
- uses: dtolnay/rust-toolchain@1.82.0
215215
- name: Get LLVM
216216
run: wget -q -O llvm16.0-mac-intel.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-intel.tar.xz
217217
- name: Extract LLVM
@@ -273,7 +273,7 @@ jobs:
273273
- uses: actions/setup-node@v4
274274
with:
275275
node-version: '16'
276-
- uses: dtolnay/rust-toolchain@1.81.0
276+
- uses: dtolnay/rust-toolchain@1.82.0
277277
- name: Setup yarn
278278
run: npm install -g yarn
279279
- uses: actions/download-artifact@v4.1.8
@@ -324,7 +324,7 @@ jobs:
324324
- uses: actions/setup-node@v4
325325
with:
326326
node-version: '16'
327-
- uses: dtolnay/rust-toolchain@1.81.0
327+
- uses: dtolnay/rust-toolchain@1.82.0
328328
with:
329329
target: wasm32-unknown-unknown
330330
- uses: actions/download-artifact@v4.1.8
@@ -371,7 +371,7 @@ jobs:
371371
- uses: actions/setup-node@v4
372372
with:
373373
node-version: '16'
374-
- uses: dtolnay/rust-toolchain@1.81.0
374+
- uses: dtolnay/rust-toolchain@1.82.0
375375
- uses: actions/download-artifact@v4.1.8
376376
with:
377377
name: solang-linux-x86-64
@@ -548,7 +548,7 @@ jobs:
548548
- name: Install Rust
549549
uses: dtolnay/rust-toolchain@master
550550
with:
551-
toolchain: 1.81.0
551+
toolchain: 1.82.0
552552
components: llvm-tools
553553
- name: Install cargo-llvm-cov
554554
uses: taiki-e/install-action@cargo-llvm-cov

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache-2.0"
88
build = "build.rs"
99
description = "Solang Solidity Compiler"
1010
keywords = [ "solidity", "compiler", "solana", "polkadot", "substrate" ]
11-
rust-version = "1.81.0"
11+
rust-version = "1.82.0"
1212
edition = "2021"
1313
exclude = [ "/.*", "/docs", "/examples", "/solana-library", "/tests", "/integration", "/vscode", "/testdata" ]
1414

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COPY . src
44
WORKDIR /src/stdlib/
55
RUN make
66

7-
RUN rustup default 1.81.0
7+
RUN rustup default 1.82.0
88

99
WORKDIR /src
1010
RUN cargo build --release

docs/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Option 5: Build Solang from source
8989

9090
In order to build Solang from source, you will need:
9191

92-
* Rust version 1.81.0 or higher
92+
* Rust version 1.82.0 or higher
9393
* A C++ compiler with support for C++17
9494
* A build of LLVM based on the Solana LLVM tree. There are a few LLVM patches required that are not upstream yet.
9595

0 commit comments

Comments
 (0)