瀏覽代碼

Require rust 1.63.0

This is needed for crate solana_rbpf 0.2.33.

Signed-off-by: Sean Young <sean@mess.org>
Sean Young 3 年之前
父節點
當前提交
fa484630e4
共有 6 個文件被更改,包括 8 次插入8 次删除
  1. 1 1
      .github/Dockerfile
  2. 2 2
      .github/workflows/release.yml
  3. 2 2
      .github/workflows/test.yml
  4. 1 1
      Cargo.toml
  5. 1 1
      Dockerfile
  6. 1 1
      docs/installing.rst

+ 1 - 1
.github/Dockerfile

@@ -29,7 +29,7 @@ RUN apt-get clean
 RUN apt-get autoclean
 
 # Get Rust
-RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain 1.59.0
+RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain 1.63.0
 
 COPY --from=builder /llvm13.0 /llvm13.0/
 

+ 2 - 2
.github/workflows/release.yml

@@ -36,7 +36,7 @@ jobs:
     - name: Add LLVM to Path
       run: echo "$(pwd)/llvm13.0/bin" >> $GITHUB_PATH
     - name: Rust stable
-      run: rustup default 1.59.0
+      run: rustup default 1.63.0
     - name: Build
       run: cargo build --verbose --release
     - name: Run tests
@@ -79,7 +79,7 @@ jobs:
     - name: Add LLVM to Path
       run: echo "$(pwd)/llvm13.0/bin" >> $GITHUB_PATH
     - name: Rust stable
-      run: rustup default 1.59.0
+      run: rustup default 1.63.0
     - name: Build
       run: cargo build --verbose --release
     - name: Run tests

+ 2 - 2
.github/workflows/test.yml

@@ -60,7 +60,7 @@ jobs:
       with:
         submodules: recursive
     - name: Rust stable
-      run: rustup default 1.59.0
+      run: rustup default 1.63.0
     - name: Build
       run: cargo build --verbose
     - name: Run tests
@@ -83,7 +83,7 @@ jobs:
       with:
         submodules: recursive
     - name: Rust stable
-      run: rustup default 1.59.0
+      run: rustup default 1.63.0
     - name: Build
       run: cargo build --verbose
     - name: Run tests

+ 1 - 1
Cargo.toml

@@ -8,7 +8,7 @@ license = "Apache-2.0"
 build = "build.rs"
 description = "Solang Solidity Compiler"
 keywords = [ "solidity", "compiler", "solana", "substrate" ]
-rust-version = "1.56.1"
+rust-version = "1.63.0"
 edition = "2021"
 
 [build-dependencies]

+ 1 - 1
Dockerfile

@@ -12,7 +12,7 @@ COPY . src
 WORKDIR /src/stdlib/
 RUN make
 
-RUN rustup default 1.59.0
+RUN rustup default 1.63.0
 
 WORKDIR /src
 RUN cargo build --release

+ 1 - 1
docs/installing.rst

@@ -84,7 +84,7 @@ Then you can build the image using:
 Option 5: Build Solang from source
 ----------------------------------
 
-In order to build Solang from source, you will need rust 1.59.0 or higher,
+In order to build Solang from source, you will need rust 1.63.0 or higher,
 and a build of LLVM based on the Solana LLVM tree. There are a few patches which are not upstream yet.
 First, follow the steps below for installing LLVM and then proceed from there.