Skip to content

Commit

Permalink
Update to Rust 1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwhall committed Oct 21, 2024
1 parent d641c7e commit 14b9acf
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
env:
ZEPHYR_VERSION: ${{ matrix.zephyr_version }}
RUST_VERSION: 1.71.0
RUST_VERSION: 1.72.0

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- run: false
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}:zephyr-rust-${{ matrix.zephyr_version }}-1.71.0
image: ghcr.io/${{ github.repository }}:zephyr-rust-${{ matrix.zephyr_version }}-1.72.0
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Version Compatibility
=====================
**Zephyr**: v2.3, v2.7.3, v3.7. 3.0-3.6 not supported.

**Rust**: exactly 1.71.0
**Rust**: exactly 1.72.0

Please use one of the above Zephyr releases before reporting issues! At the
time you are reading this, Zephyr's main branch will likely not work, though it
Expand Down Expand Up @@ -79,13 +79,13 @@ included as a submodule of this project. In practice, using a different
compiler version often fails to compile because of Rust internally making heavy
use of unstable compiler features.

The current base is stable-1.71.0. Rustup is the default workflow, and the
The current base is stable-1.72.0. Rustup is the default workflow, and the
rust-toolchain file in this repo should cause rustup to automatically install
and use the right version. If not, manually install:

.. code-block:: console
rustup toolchain install 1.71.0
rustup toolchain install 1.72.0
If supplying your own rustc and cargo, make sure they are the version above.
The build will fail if it detects a version mismatch.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.71.0"
channel = "1.72.0"
profile = "minimal"
2 changes: 1 addition & 1 deletion rust/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

HOST=$(rustc -vV | grep host: | cut -d ' ' -f 2)
CARGO_ARGS="-v build --target=${RUST_TARGET_SPEC} --release"
VERSION="1.71"
VERSION="1.72"
CURRENT_RUSTC_VERSION=$(rustc -vV | grep ^release: | cut -d ' ' -f 2 | cut -d '.' -f '1,2')

# Assert cargo version matches the certified version
Expand Down
2 changes: 1 addition & 1 deletion rust/libc
Submodule libc updated 55 files
+11 −11 .github/workflows/bors.yml
+1 −1 .github/workflows/docs.yml
+1 −1 .github/workflows/main.yml
+1 −1 Cargo.toml
+7 −7 README.md
+3 −3 ci/README.md
+1 −1 ci/linux-s390x.sh
+1 −1 ci/rust.css
+2 −2 libc-test/Cargo.toml
+53 −8 libc-test/build.rs
+1 −0 libc-test/semver/android.txt
+27 −0 libc-test/semver/dragonfly.txt
+37 −1 libc-test/semver/freebsd.txt
+6 −0 libc-test/semver/linux-gnu-loongarch64.txt
+2 −0 libc-test/semver/linux-gnu.txt
+136 −0 libc-test/semver/linux-loongarch64.txt
+15 −0 libc-test/semver/linux.txt
+1 −0 libc-test/semver/netbsd.txt
+1 −0 libc-test/semver/openbsd.txt
+2 −0 libc-test/semver/redox.txt
+1 −1 src/fuchsia/mod.rs
+1 −1 src/unix/aix/mod.rs
+83 −4 src/unix/bsd/apple/mod.rs
+5 −2 src/unix/bsd/freebsdlike/dragonfly/mod.rs
+14 −2 src/unix/bsd/freebsdlike/freebsd/mod.rs
+35 −1 src/unix/bsd/freebsdlike/mod.rs
+1 −0 src/unix/bsd/mod.rs
+2 −2 src/unix/bsd/netbsdlike/netbsd/mod.rs
+5 −5 src/unix/bsd/netbsdlike/openbsd/mod.rs
+2 −2 src/unix/haiku/mod.rs
+8 −2 src/unix/linux_like/android/mod.rs
+11 −0 src/unix/linux_like/linux/align.rs
+4 −4 src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs
+22 −1 src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs
+3 −0 src/unix/linux_like/linux/gnu/mod.rs
+66 −32 src/unix/linux_like/linux/mod.rs
+3 −0 src/unix/linux_like/linux/musl/b32/powerpc.rs
+0 −16 src/unix/linux_like/linux/musl/b32/riscv32/mod.rs
+3 −0 src/unix/linux_like/linux/musl/b32/x86/mod.rs
+3 −0 src/unix/linux_like/linux/musl/b64/powerpc64.rs
+0 −16 src/unix/linux_like/linux/musl/b64/riscv64/mod.rs
+16 −12 src/unix/linux_like/linux/musl/b64/s390x.rs
+3 −0 src/unix/linux_like/linux/musl/b64/x86_64/mod.rs
+241 −0 src/unix/linux_like/linux/musl/lfs64.rs
+12 −11 src/unix/linux_like/linux/musl/mod.rs
+71 −50 src/unix/linux_like/mod.rs
+1 −1 src/unix/mod.rs
+36 −8 src/unix/newlib/mod.rs
+47 −21 src/unix/newlib/vita/mod.rs
+1 −1 src/unix/nto/mod.rs
+19 −0 src/unix/redox/mod.rs
+1 −1 src/unix/solarish/mod.rs
+1 −1 src/vxworks/mod.rs
+2 −2 src/zephyr/mod.rs
+1 −1 triagebot.toml
2 changes: 1 addition & 1 deletion rust/rust
Submodule rust updated 6358 files
17 changes: 12 additions & 5 deletions rust/sysroot-stage1/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14b9acf

Please sign in to comment.