tce-load -i compiletc cmake curl-dev libssh2-dev clang python3.11 *** will not compile in 4gb ram *** *** needs 4gb swap file *** *** no rust target for armv7l-unknown-linux-gnueabihf *** https://doc.rust-lang.org/nightly/rustc/platform-support.html wget https://static.rust-lang.org/dist/rustc-1.81.0-src.tar.xz cd rustc-1.81.0-src cp config.toml ./ sed '/MirOpt/d' -i src/bootstrap/src/core/builder.rs sed 's/!path.ends_with("cargo")/true/' -i src/bootstrap/src/core/build_steps/tool.rs sed 's/^.*build_wasm.*$/#[allow(unreachable_code)]&return false;/' -i src/bootstrap/src/lib.rs sed '/CondBitmap/,/^}/s/LLVM_VERSION.*/& \&\& LLVM_VERSION_LT(19, 0)/' -i compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp rm -v tests/coverage/mcdc/cond*.rs rm -v tests/coverage/mcdc/if.rs rm -v tests/coverage/mcdc/inline*.rs rm -v tests/coverage/mcdc/nest*.rs rm -v tests/coverage/mcdc/non_*.rs sudo cp /tmp/tcloop/llvm19-dev/usr/local/bin/llvm-config /usr/local/bin export LIBSSH2_SYS_USE_PKG_CONFIG=1 export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 export SSL_CERT_FILE=/usr/local/etc/ssl/certs/ca-certificates.crt python3 ./x.py build [14:01:43] DESTDIR=${PWD}/install python3 ./x.py install rustc std [2:13:16] DESTDIR=${PWD}/install python3 ./x.py install --stage=1 cargo clippy rustfmt sudo chown -R root:root install sudo cp -a install/* /