From bdb38febf52dafa77664f84b3d214e57b92230d7 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 27 Sep 2022 18:36:30 +0200 Subject: rust: bump to 1.62.1 rust_host: bump to 1.62.1 Print an error and bail-out if the user forgot to adjust the feed name according to the one in feeds.conf Signed-off-by: Toni Uhlig --- lang/rust/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lang/rust/Makefile') diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 3a2cf9a..cc9403c 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rust -PKG_VERSION:=1.62.0 +PKG_VERSION:=1.62.1 PKG_RELEASE:=1 PKG_LICENSE:=Apache-2.0 MIT @@ -106,6 +106,12 @@ define Host/Install endef define Host/Compile + @echo '=========================' + @echo '= RUSTC_TARGET_ARCH =' + @echo '=========================' + @echo '$(RUSTC_TARGET_ARCH)' + @echo '=========================' + $(if $(RUSTC_TARGET_ARCH),,$(error RUSTC_TARGET_ARCH is not set. Did you change the package feed name?)) cd $(HOST_BUILD_DIR) && \ CARGO_HOME='$(CARGO_HOME)' \ CXXFLAGS='$(HOST_CXXFLAGS)' \ -- cgit v1.2.3