Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 authored Dec 1, 2024
1 parent 444ebfc commit 0410101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tur/rustc-nightly/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://www.rust-lang.org
TERMUX_PKG_DESCRIPTION="Rust compiler and utilities (nightly version)"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="1.85.0-2024.11.30-nightly"
TERMUX_PKG_VERSION="1.85.0-2024.12.01-nightly"
_RUST_VERSION=$(echo $TERMUX_PKG_VERSION | cut -d- -f1)
_DATE="$(echo $TERMUX_PKG_VERSION | cut -d- -f2 | sed 's|\.|-|g')"
_LLVM_MAJOR_VERSION=$(. $TERMUX_SCRIPTDIR/packages/libllvm/build.sh; echo $LLVM_MAJOR_VERSION)
_LLVM_MAJOR_VERSION_NEXT=$((_LLVM_MAJOR_VERSION + 1))
_LZMA_VERSION=$(. $TERMUX_SCRIPTDIR/packages/liblzma/build.sh; echo $TERMUX_PKG_VERSION)
TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/$_DATE/rustc-nightly-src.tar.xz
TERMUX_PKG_SHA256=222e3f5bed99c3e6070f3f60b1ea066580e4d1f503b1e4c5f7970ade3bb69e3e
TERMUX_PKG_SHA256=a457a4fb963f47ebf185c46167254bdb3aeeba0ab5f953d518b08b53fd015bd4
TERMUX_PKG_DEPENDS="clang, libc++, libllvm (<< ${_LLVM_MAJOR_VERSION_NEXT}), lld, openssl, zlib"
TERMUX_PKG_BUILD_DEPENDS="wasi-libc"
TERMUX_PKG_AUTO_UPDATE=true
Expand Down

0 comments on commit 0410101

Please sign in to comment.