Radix cross Linux Build System

Cross-platform build system is designed to build distributions of different operating systems for a set of target devices

74 Commits   2 Branches   2 Tags
Index: 3pp/app/rust/1.82.0/Makefile
===================================================================
--- 3pp/app/rust/1.82.0/Makefile	(revision 65)
+++ 3pp/app/rust/1.82.0/Makefile	(revision 66)
@@ -31,6 +31,23 @@
 
 RUST_TOOLCHAIN = RcL-$(version)-x86_64-unknown-linux-gnu
 
+#
+# NOTE:
+# ============================================================================================
+#  In case a different version of the cbindgen utility is needed,
+#  for example, to ensure compatibility with the Firefox source code,
+#  we can install the required version of cbindgen into the cargo/bin
+#  directory before linking RcL rust-toolchain:
+#
+#	@echo -e "\n======= Install cbindgen 0.26.0 =======\n"
+#	@CARGO_HOME=$(CARGO_HOME) RUSTUP_HOME=$(RUSTUP_HOME) PATH=$(CARGO_HOME)/bin:$PATH \
+#	  cargo install --version 0.26.0 cbindgen
+#
+#  and use it by defining the CBINDGEN variable in the sbin/.config file:
+#
+#	  echo "CBINDGEN := $(CARGO_HOME)/bin/cbindgen" >> $(BUILDSYSTEM)/sbin/.config
+#
+
 $(build_target):
 	@echo -e "\n======= Installing CARGO $(version) binaries =======\n"
 	@CARGO_HOME=$(CARGO_HOME) RUSTUP_HOME=$(RUSTUP_HOME) \