mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
rust: rework
This commit is contained in:
parent
6fa338ae66
commit
0d0b97b056
@ -17,12 +17,11 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="rust"
|
PKG_NAME="rust"
|
||||||
PKG_VERSION="1.23.0"
|
PKG_VERSION="1.26.0"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="MIT"
|
PKG_LICENSE="MIT"
|
||||||
PKG_SITE="https://www.rust-lang.org"
|
PKG_SITE="https://www.rust-lang.org"
|
||||||
PKG_URL=""
|
PKG_DEPENDS_TARGET="toolchain rustup.rs"
|
||||||
PKG_DEPENDS="toolchain"
|
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_LONGDESC="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety."
|
PKG_LONGDESC="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety."
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
@ -42,7 +41,7 @@ make_target() {
|
|||||||
export RUSTUP_HOME="$CARGO_HOME"
|
export RUSTUP_HOME="$CARGO_HOME"
|
||||||
export PATH="$CARGO_HOME/bin:$PATH"
|
export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
rm -rf "$CARGO_HOME"
|
rm -rf "$CARGO_HOME"
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
|
$(get_build_dir rustup.rs)/rustup-init.sh --no-modify-path -y
|
||||||
rustup default "$PKG_VERSION"
|
rustup default "$PKG_VERSION"
|
||||||
case "$TARGET_ARCH" in
|
case "$TARGET_ARCH" in
|
||||||
aarch64)
|
aarch64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user