Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lang/rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=rust
PKG_VERSION:=1.96.0
PKG_VERSION:=1.97.0
PKG_RELEASE:=1

PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.xz
PKG_SOURCE_URL:=https://static.rust-lang.org/dist/
PKG_HASH:=b99ce16cdf0ecfc761b585ac84d131b46733465a02f8ecd0ff2de9713c62ee09
PKG_HASH:=de002ee301c1b7422b0a7b09d7c4cb4924cd3224e6cfb24f065dad786dd3ed12
HOST_BUILD_DIR:=$(BUILD_DIR)/host/rustc-$(PKG_VERSION)-src

PKG_MAINTAINER:=Luca Barbato <lu_zero@luminem.org>
Expand Down
2 changes: 1 addition & 1 deletion lang/rust/patches/0001-Update-xz2-and-use-it-static.patch
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Subject: [PATCH] Update xz2 and use it static
+xz2 = { version = "0.1", features = ["static"] }

# Dependencies needed by the build-metrics feature
sysinfo = { version = "0.38.4", default-features = false, optional = true, features = ["system"] }
sysinfo = { version = "0.39.2", default-features = false, optional = true, features = ["system"] }
4 changes: 3 additions & 1 deletion lang/rust/rust-values.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ CARGO_RUSTFLAGS+=-Ctarget-feature=-crt-static $(RUSTC_LDFLAGS)
ifeq ($(HOST_OS),Darwin)
ifeq ($(HOST_ARCH),arm64)
RUSTC_HOST_ARCH:=aarch64-apple-darwin
else ifeq ($(HOST_ARCH),x86_64)
RUSTC_HOST_ARCH:=x86_64-apple-darwin
endif
endif

# mips64 openwrt has a specific targed in rustc
# mips64 openwrt has a specific target in rustc
ifeq ($(ARCH),mips64)
RUSTC_TARGET_ARCH:=$(REAL_GNU_TARGET_NAME)
else
Expand Down