Skip to content

Commit

Permalink
use rust 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Oct 14, 2023
1 parent 3fdc636 commit 37c932e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:
needs: compiler
runs-on: ubuntu-20.04
env:
TOOLCHAIN_VERSION: 1.61.0
TOOLCHAIN_VERSION: 1.65.0
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ Thrift's core protocol is TBinary, supported by all languages except for JavaScr
<td align=left><a href="https://github.com/apache/thrift/blob/master/lib/rs/README.md">Rust</a></td>
<!-- Since -----------------><td>0.11.0</td>
<!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td>
<!-- Language Levels -------><td>1.61.0</td><td>1.xx.x</td>
<!-- Language Levels -------><td>1.65.0</td><td>1.xx.x</td>
<!-- Field types -----------><td><img src="/doc/images/cred.png" alt=""/></td>
<!-- Low-Level Transports --><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td>
<!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cred.png" alt=""/></td>
Expand Down
2 changes: 1 addition & 1 deletion build/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ Last updated: October 1, 2017
| python | 2.7.12 | 2.7.15 | |
| python3 | 3.5.2 | 3.6.8 | |
| ruby | 2.3.1p112 | 2.5.1p57 | |
| rust | 1.61.0 | 1.61.0 | |
| rust | 1.65.0 | 1.65.0 | |
| smalltalk | | | Not in CI |
| swift | | 5.1.4 | |
2 changes: 1 addition & 1 deletion build/docker/old/ubuntu-disco/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN apt-get install -y --no-install-recommends \
ruby-bundler

# Rust dependencies
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
ENV PATH /root/.cargo/bin:$PATH

# Swift on Linux for cross tests
Expand Down
2 changes: 1 addition & 1 deletion build/docker/old/ubuntu-xenial/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ RUN apt-get install -y --no-install-recommends \
ruby-bundler

# Rust dependencies
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y

# Locale(s) for cpp unit tests
RUN apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion build/docker/ubuntu-bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ RUN apt-get install -y --no-install-recommends \
ruby-bundler

# Rust dependencies
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
ENV PATH /root/.cargo/bin:$PATH

# Swift on Linux for cross tests
Expand Down
2 changes: 1 addition & 1 deletion build/docker/ubuntu-focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ RUN apt-get install -y --no-install-recommends \
ruby-bundler

# Rust dependencies
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
ENV PATH /root/.cargo/bin:$PATH

# Swift on Linux for cross tests
Expand Down
2 changes: 1 addition & 1 deletion build/docker/ubuntu-jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ RUN apt-get install -y --no-install-recommends \
ruby-bundler

# Rust dependencies
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.61.0 -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.65.0 -y
ENV PATH /root/.cargo/bin:$PATH

# Swift on Linux for cross tests
Expand Down
2 changes: 1 addition & 1 deletion lib/rs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Breaking changes are minimized. When they are made they will be outlined below w

##### Thrift 0.14.0

* **[THRIFT-5158]** - Rust library and generator now support Rust 2021 only. Required rust 1.61.0 or higher
* **[THRIFT-5158]** - Rust library and generator now support Rust 2021 only. Required rust 1.65.0 or higher

The Rust `thrift` library was updated to Rust 2021 via `cargo fix --edition`.
All test code in the repo was updated as well. The code generator was also updated
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.61.0
1.65.0

0 comments on commit 37c932e

Please sign in to comment.