summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/depends/Makefile2
-rw-r--r--contrib/depends/funcs.mk4
-rw-r--r--contrib/depends/packages/native_mrustc.mk26
-rw-r--r--contrib/depends/packages/native_rust_1_55_0.mk30
-rw-r--r--contrib/depends/packages/native_rust_1_56_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_57_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_58_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_59_0.mk32
-rw-r--r--contrib/depends/packages/native_rust_1_60_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_61_0.mk36
-rw-r--r--contrib/depends/packages/native_rust_1_62_1.mk36
-rw-r--r--contrib/depends/packages/native_rust_1_63_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_64_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_65_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_66_1.mk35
-rw-r--r--contrib/depends/packages/native_rust_1_67_1.mk35
-rw-r--r--contrib/depends/packages/native_rust_1_68_2.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_69_0.mk32
-rw-r--r--contrib/depends/packages/native_rust_1_70_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_71_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_72_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_73_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_74_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_75_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_76_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_77_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_78_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_79_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_80_1.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_81_0.mk31
-rw-r--r--contrib/depends/packages/native_rust_1_82_0.mk31
-rw-r--r--contrib/depends/packages/packages.mk8
32 files changed, 907 insertions, 20 deletions
diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile
index 7e9f0f4..2850eaf 100644
--- a/contrib/depends/Makefile
+++ b/contrib/depends/Makefile
@@ -8,7 +8,7 @@ BUILD = $(shell ./config.guess)
HOST ?= $(BUILD)
PATCHES_PATH = $(BASEDIR)/patches
BASEDIR = $(CURDIR)
-HASH_LENGTH:=11
+HASH_LENGTH:=16
DOWNLOAD_CONNECT_TIMEOUT:=30
DOWNLOAD_RETRIES:=5
HOST_ID_SALT ?= salt
diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk
index 757c941..3bc7d79 100644
--- a/contrib/depends/funcs.mk
+++ b/contrib/depends/funcs.mk
@@ -44,7 +44,7 @@ define int_get_build_id
$(eval $(1)_dependencies += $($(1)_$(host_arch)_$(host_os)_dependencies) $($(1)_$(host_os)_dependencies))
$(eval $(1)_all_dependencies:=$(call int_get_all_dependencies,$(1),$($($(1)_type)_native_toolchain) $($(1)_dependencies)))
$(foreach dep,$($(1)_all_dependencies),$(eval $(1)_build_id_deps+=$(dep)-$($(dep)_version)-$($(dep)_recipe_hash)))
-$(eval $(1)_build_id_long:=$(1)-$($(1)_version)-$($(1)_recipe_hash)-$(release_type) $($(1)_build_id_deps) $($($(1)_type)_id_string))
+$(eval $(1)_build_id_long:=$(shell uname -sm)-$(1)-$($(1)_version)-$($(1)_recipe_hash)-$(release_type) $($(1)_build_id_deps) $($($(1)_type)_id_string))
$(eval $(1)_build_id:=$(shell echo -n "$($(1)_build_id_long)" | $(build_SHA256SUM) | cut -c-$(HASH_LENGTH)))
$(eval $(1)_build_id_long_legacy:=$(1)-$($(1)_version)-$($(1)_recipe_hash)-$(release_type) $($(1)_build_id_deps) $($($(1)_type)_id_string_legacy))
$(eval $(1)_build_id_legacy:=$(shell echo -n "$($(1)_build_id_long_legacy)" | $(build_SHA256SUM) | cut -c-$(HASH_LENGTH)))
@@ -202,7 +202,7 @@ $(1)_autoconf += LDFLAGS="$$($(1)_ldflags)"
endif
endef
-COMPRESS_CMD := $(shell if command -v pigz >/dev/null 2>&1; then echo "pigz"; else echo "gzip"; fi)
+COMPRESS_CMD := $(shell if command -v pigz >/dev/null 2>&1; then which pigz; else which gzip; fi)
define int_add_cmds
$($(1)_fetched):
diff --git a/contrib/depends/packages/native_mrustc.mk b/contrib/depends/packages/native_mrustc.mk
index 86bdf42..2ec97a9 100644
--- a/contrib/depends/packages/native_mrustc.mk
+++ b/contrib/depends/packages/native_mrustc.mk
@@ -1,17 +1,11 @@
package=native_mrustc
$(package)_version=0.11.0
$(package)_download_path=https://github.com/thepowersgang/mrustc/archive
-$(package)_download_file=44013560b99ee8f351807d5ad4b64ba36bfe7d01.tar.gz
+$(package)_download_file=06b87d1af49d2db3bd850fdee8888055dd540dd1.tar.gz
$(package)_file_name=$(package)-$($(package)_version).tar.gz
-$(package)_sha256_hash=a723f4f0fd63d0950ca6f8d0dcaf35fb1f34d5c683e552d44c7553ffdb57a343
+$(package)_sha256_hash=d3d3b84a100e71628afecf1125dbaa9bfc54ef9578c4fd81d75dca34c96f2565
$(package)_dependencies=native_ccache
-define $(package)_set_vars
-$(package)_config_opts=
-$(package)_build_opts=
-$(package)_build_env=
-endef
-
define $(package)_preprocess_cmds
cd $($(package)_extract_dir) && \
if [ -f script-overrides/stable-1.54.0-macos/build_std.txt ]; then \
@@ -22,7 +16,10 @@ define $(package)_preprocess_cmds
echo 'Patching mrustc to work with clang on macOS' && \
sed -i.bak 's/-fno-tree-sra//g' Makefile && \
grep -rl -- "-fno-tree-sra" . | xargs sed -i.bak 's/-fno-tree-sra//g'; \
- fi
+ fi && \
+ sed -i.bak 's/^make$$$$/make $$$$@/' build-1.54.0.sh &&\
+ echo >> build-1.54.0.sh && \
+ echo make -C run_rustc >> build-1.54.0.sh
endef
define $(package)_build_cmds
@@ -31,11 +28,8 @@ define $(package)_build_cmds
endef
define $(package)_stage_cmds
- mkdir -p $($(package)_staging_dir)/$(host_prefix)/native/bin $($(package)_staging_dir)/$(host_prefix)/native/lib && \
- cp bin/mrustc bin/minicargo $($(package)_staging_dir)/$(host_prefix)/native/bin && \
- cp -r output-1.54.0 $($(package)_staging_dir)/$(host_prefix)/native
+ mkdir -p $($(package)_staging_prefix_dir)/rust_1_54_0/bin && \
+ cp -a run_rustc/output-1.54.0/prefix-2/bin/rustc $($(package)_staging_prefix_dir)/rust_1_54_0/bin && \
+ cp -a run_rustc/output-1.54.0/prefix/bin/cargo $($(package)_staging_prefix_dir)/rust_1_54_0/bin && \
+ cp -a run_rustc/output-1.54.0/prefix-2/lib $($(package)_staging_prefix_dir)/rust_1_54_0/lib
endef
-
-define $(package)_postprocess_cmds
- rm -rf $($(package)_staging_dir)/native/lib/output-1.54.0/rustc-build
-endef \ No newline at end of file
diff --git a/contrib/depends/packages/native_rust_1_55_0.mk b/contrib/depends/packages/native_rust_1_55_0.mk
new file mode 100644
index 0000000..f4aee59
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_55_0.mk
@@ -0,0 +1,30 @@
+package=native_rust_1_55_0
+$(package)_version=1.55.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_sha256_hash=b2379ac710f5f876ee3c3e03122fe33098d6765d371cac6c31b1b6fc8e43821e
+$(package)_dependencies=native_mrustc
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_54_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_54_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_55_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_55_0/ && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_55_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_55_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_56_1.mk b/contrib/depends/packages/native_rust_1_56_1.mk
new file mode 100644
index 0000000..7f4da0d
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_56_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_56_1
+$(package)_version=1.56.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_download_file=rustc-$($(package)_version)-src.tar.gz
+$(package)_file_name=$(package)-$($(package)_version).tar.gz
+$(package)_sha256_hash=c3898dfaadaa193dc88ddbc5345946a163211b58621df1cfff70186b4fc79511
+$(package)_dependencies=native_rust_1_55_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_55_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_55_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_56_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_56_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_56_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_56_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_57_0.mk b/contrib/depends/packages/native_rust_1_57_0.mk
new file mode 100644
index 0000000..cf6ed0d
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_57_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_57_0
+$(package)_version=1.57.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=3546f9c3b91b1f8b8efd26c94d6b50312c08210397b4072ed2748e2bd4445c1a
+$(package)_dependencies=native_rust_1_56_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_56_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_56_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_57_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_57_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_57_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_57_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_58_1.mk b/contrib/depends/packages/native_rust_1_58_1.mk
new file mode 100644
index 0000000..99560eb
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_58_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_58_1
+$(package)_version=1.58.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=a839afdd3625d6f3f3c4c10b79813675d1775c460d14be1feaf33a6c829c07c7
+$(package)_dependencies=native_rust_1_57_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_57_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_57_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_58_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_58_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_58_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_58_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_59_0.mk b/contrib/depends/packages/native_rust_1_59_0.mk
new file mode 100644
index 0000000..cb639bb
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_59_0.mk
@@ -0,0 +1,32 @@
+package=native_rust_1_59_0
+$(package)_version=1.59.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=a7c8eeaee85bfcef84c96b02b3171d1e6540d15179ff83dddd9eafba185f85f9
+$(package)_dependencies=native_rust_1_58_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_58_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_58_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_59_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_59_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_59_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_59_0/bin
+endef
+
diff --git a/contrib/depends/packages/native_rust_1_60_0.mk b/contrib/depends/packages/native_rust_1_60_0.mk
new file mode 100644
index 0000000..2022d33
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_60_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_60_0
+$(package)_version=1.60.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=20ca826d1cf674daf8e22c4f8c4b9743af07973211c839b85839742314c838b7
+$(package)_dependencies=native_rust_1_59_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_59_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_59_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_60_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_60_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_60_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_60_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_61_0.mk b/contrib/depends/packages/native_rust_1_61_0.mk
new file mode 100644
index 0000000..f937811
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_61_0.mk
@@ -0,0 +1,36 @@
+package=native_rust_1_61_0
+$(package)_version=1.61.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=ad0b4351675aa9abdf4c7e066613bd274c4391c5506db152983426376101daed
+$(package)_dependencies=native_rust_1_60_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_60_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_60_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_61_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_61_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_61_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_61_0/bin
+endef
+
+
+define $(package)_postprocess_cmds
+ rm -rf $($(package)_staging_prefix_dir)/share/man
+endef \ No newline at end of file
diff --git a/contrib/depends/packages/native_rust_1_62_1.mk b/contrib/depends/packages/native_rust_1_62_1.mk
new file mode 100644
index 0000000..11afe10
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_62_1.mk
@@ -0,0 +1,36 @@
+package=native_rust_1_62_1
+$(package)_version=1.62.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=a6d39e6d0ec60e896c3081d1f9ec182b6bd7b06b61f89b143ecabbe0c6b5d225
+$(package)_dependencies=native_rust_1_61_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_61_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_61_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_62_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_62_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_62_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_62_1/bin
+endef
+
+
+define $(package)_postprocess_cmds
+ rm -rf $($(package)_staging_prefix_dir)/share/man
+endef \ No newline at end of file
diff --git a/contrib/depends/packages/native_rust_1_63_0.mk b/contrib/depends/packages/native_rust_1_63_0.mk
new file mode 100644
index 0000000..a79a7fa
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_63_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_63_0
+$(package)_version=1.63.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=1f9580295642ef5da7e475a8da2397d65153d3f2cb92849dbd08ed0effca99d0
+$(package)_dependencies=native_rust_1_62_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_62_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_62_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_63_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_63_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_63_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_63_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_64_0.mk b/contrib/depends/packages/native_rust_1_64_0.mk
new file mode 100644
index 0000000..8de02dc
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_64_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_64_0
+$(package)_version=1.64.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=b3cd9f481e1a2901bf6f3808d30c69cc4ea80d93c4cc4e2ed52258b180381205
+$(package)_dependencies=native_rust_1_63_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_63_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_63_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_64_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_64_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_64_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_64_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_65_0.mk b/contrib/depends/packages/native_rust_1_65_0.mk
new file mode 100644
index 0000000..aa0fd55
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_65_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_65_0
+$(package)_version=1.65.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=5828bb67f677eabf8c384020582b0ce7af884e1c84389484f7f8d00dd82c0038
+$(package)_dependencies=native_rust_1_64_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_64_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_64_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_65_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_65_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_65_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_65_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_66_1.mk b/contrib/depends/packages/native_rust_1_66_1.mk
new file mode 100644
index 0000000..b99725a
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_66_1.mk
@@ -0,0 +1,35 @@
+package=native_rust_1_66_1
+$(package)_version=1.66.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=07ac4e6692b506279a85451a5c6167285c8db1772c704a3146f625b37b96e5c4
+$(package)_dependencies=native_rust_1_65_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_65_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_65_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_66_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_66_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_66_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_66_1/bin
+endef
+
+define $(package)_postprocess_cmds
+ rm -rf $($(package)_staging_prefix_dir)/share/man
+endef \ No newline at end of file
diff --git a/contrib/depends/packages/native_rust_1_67_1.mk b/contrib/depends/packages/native_rust_1_67_1.mk
new file mode 100644
index 0000000..d3a8191
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_67_1.mk
@@ -0,0 +1,35 @@
+package=native_rust_1_67_1
+$(package)_version=1.67.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=46e33e21f91bf9c5a9ab952e4b7607bde32b269484ecf6f1ee0ce3a52ef3cd83
+$(package)_dependencies=native_rust_1_66_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_66_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_66_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_67_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_67_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_67_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_67_1/bin
+endef
+
+define $(package)_postprocess_cmds
+ rm -rf $($(package)_staging_prefix_dir)/share/man
+endef \ No newline at end of file
diff --git a/contrib/depends/packages/native_rust_1_68_2.mk b/contrib/depends/packages/native_rust_1_68_2.mk
new file mode 100644
index 0000000..a6d1bef
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_68_2.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_68_2
+$(package)_version=1.68.2
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=93339c23f7cd4d0c45db58e18b4c6e16d6070f4277aad9d2492d23294bf32e96
+$(package)_dependencies=native_rust_1_67_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_67_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_67_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_68_2/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_68_2 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_68_2/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_68_2/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_69_0.mk b/contrib/depends/packages/native_rust_1_69_0.mk
new file mode 100644
index 0000000..8a00291
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_69_0.mk
@@ -0,0 +1,32 @@
+package=native_rust_1_69_0
+$(package)_version=1.69.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=fb05971867ad6ccabbd3720279f5a94b99f61024923187b56bb5c455fa3cf60f
+$(package)_dependencies=native_rust_1_68_2
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_68_2/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_68_2/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_69_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_69_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_69_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_69_0/bin
+endef
+
diff --git a/contrib/depends/packages/native_rust_1_70_0.mk b/contrib/depends/packages/native_rust_1_70_0.mk
new file mode 100644
index 0000000..3354073
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_70_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_70_0
+$(package)_version=1.70.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=b2bfae000b7a5040e4ec4bbc50a09f21548190cb7570b0ed77358368413bd27c
+$(package)_dependencies=native_rust_1_69_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_69_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_69_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_70_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_70_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_70_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_70_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_71_1.mk b/contrib/depends/packages/native_rust_1_71_1.mk
new file mode 100644
index 0000000..60248db
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_71_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_71_1
+$(package)_version=1.71.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=a8bdd8002b1fc7f785fa92265ee886b14bc66e521ba7d73eb19F0bb28af5e18e
+$(package)_dependencies=native_rust_1_70_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_70_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_70_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_71_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_71_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_71_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_71_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_72_1.mk b/contrib/depends/packages/native_rust_1_72_1.mk
new file mode 100644
index 0000000..fa5a9b3
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_72_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_72_1
+$(package)_version=1.72.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=a5b15adaf97c5c72740b755d9ea8f48f3fca758dd222fca7a29f8c10975c63a5
+$(package)_dependencies=native_rust_1_71_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_71_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_71_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_72_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_72_1/ && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_72_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_72_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_73_0.mk b/contrib/depends/packages/native_rust_1_73_0.mk
new file mode 100644
index 0000000..bfc4c29
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_73_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_73_0
+$(package)_version=1.73.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=96d62e6d1f2d21df7ac8acb3b9882411f9e7c7036173f7f2ede9e1f1f6b1bb3a
+$(package)_dependencies=native_rust_1_72_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_72_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_72_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_73_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_73_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_73_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_73_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_74_1.mk b/contrib/depends/packages/native_rust_1_74_1.mk
new file mode 100644
index 0000000..e790748
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_74_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_74_1
+$(package)_version=1.74.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=c54de32e1af613737aec9fbf4f1a1f2aefcb0ecd3ebb5f5dc542db6597b7c862
+$(package)_dependencies=native_rust_1_73_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_73_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_73_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_74_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_74_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_74_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_74_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_75_0.mk b/contrib/depends/packages/native_rust_1_75_0.mk
new file mode 100644
index 0000000..1571ff8
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_75_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_75_0
+$(package)_version=1.75.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=5b739f45bc9d341e2d1c570d65d2375591e22c2d23ef5b8a37711a0386abc088
+$(package)_dependencies=native_rust_1_74_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_74_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_74_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_75_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_75_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_75_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_75_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_76_0.mk b/contrib/depends/packages/native_rust_1_76_0.mk
new file mode 100644
index 0000000..571559d
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_76_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_76_0
+$(package)_version=1.76.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=9e5cff033a7f0d2266818982ad90e4d3e4ef8f8ee1715776c6e25073a136c021
+$(package)_dependencies=native_rust_1_75_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_75_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_75_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_76_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_76_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_76_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_76_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_77_1.mk b/contrib/depends/packages/native_rust_1_77_1.mk
new file mode 100644
index 0000000..adac711
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_77_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_77_1
+$(package)_version=1.77.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=d23af19ad537dd5ddb38cd7873663d5e8f1c542a14ecb5602f7b23f676a09662
+$(package)_dependencies=native_rust_1_76_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_76_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_76_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_77_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_77_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_77_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_77_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_78_0.mk b/contrib/depends/packages/native_rust_1_78_0.mk
new file mode 100644
index 0000000..4ef15f3
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_78_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_78_0
+$(package)_version=1.78.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=ff544823a5cb27f2738128577f1e7e00ee8f4c83f2a348781ae4fc355e91d5a9
+$(package)_dependencies=native_rust_1_77_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_77_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_77_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_78_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_78_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_78_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_78_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_79_0.mk b/contrib/depends/packages/native_rust_1_79_0.mk
new file mode 100644
index 0000000..9da0625
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_79_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_79_0
+$(package)_version=1.79.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=172ecf3c7d1f9d9fb16cd2a628869782670416ded0129e524a86751f961448c0
+$(package)_dependencies=native_rust_1_78_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_78_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_78_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_79_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_79_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_79_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_79_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_80_1.mk b/contrib/depends/packages/native_rust_1_80_1.mk
new file mode 100644
index 0000000..bdbf798
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_80_1.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_80_1
+$(package)_version=1.80.1
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=24aed94eff8cea2c7e0ea3bae401f0ea07784105ed6fb457c25fb76dd41b5647
+$(package)_dependencies=native_rust_1_79_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_79_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_79_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_80_1/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_80_1 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_80_1/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_80_1/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_81_0.mk b/contrib/depends/packages/native_rust_1_81_0.mk
new file mode 100644
index 0000000..8dceb0a
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_81_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_81_0
+$(package)_version=1.81.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=872448febdff32e50c3c90a7e15f9bb2db131d13c588fe9071b0ed88837ccfa7
+$(package)_dependencies=native_rust_1_80_1
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_80_1/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_80_1/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_81_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_81_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_81_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_81_0/bin
+endef
diff --git a/contrib/depends/packages/native_rust_1_82_0.mk b/contrib/depends/packages/native_rust_1_82_0.mk
new file mode 100644
index 0000000..1707cfe
--- /dev/null
+++ b/contrib/depends/packages/native_rust_1_82_0.mk
@@ -0,0 +1,31 @@
+package=native_rust_1_82_0
+$(package)_version=1.82.0
+$(package)_download_path=https://static.rust-lang.org/dist
+$(package)_file_name=rustc-$($(package)_version)-src.tar.gz
+$(package)_download_file=$($(package)_file_name)
+$(package)_sha256_hash=7c53f4509eda184e174efa6ba7d5eeb586585686ce8edefc781a2b11a7cf512a
+$(package)_dependencies=native_rust_1_81_0
+
+define $(package)_preprocess_cmds
+ sed -i '18i#include <cstdint>' src/llvm-project/llvm/include/llvm/Support/Signals.h || true && \
+ echo '[build]' > config.toml && \
+ echo 'full-bootstrap = true' >> config.toml && \
+ echo 'vendor = true' >> config.toml && \
+ echo 'extended = true' >> config.toml && \
+ echo 'rustc = "$(host_prefix)/native/rust_1_81_0/bin/rustc"' >> config.toml && \
+ echo 'cargo = "$(host_prefix)/native/rust_1_81_0/bin/cargo"' >> config.toml && \
+ echo '[llvm]' >> config.toml && \
+ echo 'ninja = false' >> config.toml && \
+ echo 'download-ci-llvm = false' >> config.toml
+endef
+
+define $(package)_build_cmds
+ python3 ./x.py build --stage 3
+endef
+
+define $(package)_stage_cmds
+ mkdir -p $($(package)_staging_prefix_dir)/native/rust_1_82_0/bin && \
+ cp -a build/*/stage3/lib $($(package)_staging_prefix_dir)/native/rust_1_82_0 && \
+ cp -a build/*/stage3/bin/rustc $($(package)_staging_prefix_dir)/native/rust_1_82_0/bin && \
+ cp -a build/*/stage3-tools-bin/cargo $($(package)_staging_prefix_dir)/native/rust_1_82_0/bin
+endef
diff --git a/contrib/depends/packages/packages.mk b/contrib/depends/packages/packages.mk
index 571df70..0349485 100644
--- a/contrib/depends/packages/packages.mk
+++ b/contrib/depends/packages/packages.mk
@@ -2,9 +2,15 @@ packages:=boost openssl zeromq libiconv expat unbound polyseed
# ccache is useless in gitian builds
ifneq ($(GITIAN),1)
-native_packages := native_ccache native_mrustc
+native_packages := native_ccache
endif
+rust_packages := native_mrustc native_rust_1_55_0 native_rust_1_56_1 native_rust_1_57_0 native_rust_1_58_1 native_rust_1_59_0 native_rust_1_60_0 native_rust_1_61_0 native_rust_1_62_1 native_rust_1_63_0 native_rust_1_64_0 native_rust_1_65_0 native_rust_1_66_1 native_rust_1_67_1 native_rust_1_68_2 native_rust_1_69_0 native_rust_1_70_0 native_rust_1_71_1 native_rust_1_72_1 native_rust_1_73_0 native_rust_1_74_1 native_rust_1_75_0 native_rust_1_76_0 native_rust_1_77_1 native_rust_1_78_0 native_rust_1_79_0 native_rust_1_80_1 native_rust_1_81_0 native_rust_1_82_0
+
+packages := $(rust_packages)
+
+native_packages += $(native_rust_packages)
+
hardware_packages := hidapi protobuf libusb
hardware_native_packages := native_protobuf