tce-load -i compiletc cmake curl-dev libssh2-dev clang llvm19-dev wget https://static.rust-lang.org/dist/rustc-1.81.0-src.tar.xz cd rustc-1.81.0-src cp ../config.toml ./ sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/llvm-config /usr/local/bin sudo ln -s /lib /lib64 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 export SSL_CERT_FILE=/usr/local/etc/ssl/certs/ca-certificates.crt export LIBSSH2_SYS_USE_PKG_CONFIG=1 export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 python3 ./x.py build [1h 36m 57s] DESTDIR=${PWD}/install python3 ./x.py install rustc std [0:06:26] DESTDIR=${PWD}/install python3 ./x.py install --stage=1 cargo clippy rustfmt sudo chown -R root:root install sudo cp -a install/* /