diff --git a/rust/Makefile b/rust/Makefile index 3d85fc2fb..4b45b9c01 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -6,13 +6,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rust -PKG_VERSION:=1.78.0 +PKG_VERSION:=1.81.0 PKG_RELEASE:=2 PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.gz PKG_SOURCE_URL:=https://static.rust-lang.org/dist/ -PKG_HASH:=ff544823a5cb27f2738128577f1e7e00ee8f4c83f2a348781ae4fc355e91d5a9 +PKG_HASH:=872448febdff32e50c3c90a7e15f9bb2db131d13c588fe9071b0ed88837ccfa7 HOST_BUILD_DIR:=$(BUILD_DIR)/host/rustc-$(PKG_VERSION)-src PKG_MAINTAINER:=Luca Barbato diff --git a/rust/rust-values.mk b/rust/rust-values.mk index da9bf695e..82a350e71 100644 --- a/rust/rust-values.mk +++ b/rust/rust-values.mk @@ -103,3 +103,5 @@ CARGO_PKG_CONFIG_VARS= \ TARGET_CFLAGS="$(TARGET_CFLAGS) $(RUSTC_CFLAGS)" CARGO_PKG_PROFILE:=$(if $(CONFIG_DEBUG),dev,release) + +CARGO_RUSTFLAGS+=-Clink-arg=-fuse-ld=$(TARGET_LINKER) \ No newline at end of file