# FIXME: error[E0658]: use of unstable library feature `stdarch_loongarch`
if ab_match_arch loongarch64 || ab_match_arch loongarch64_nosimd; then
    abinfo "Installing Rust nightly version ..."
    export RUSTUP_INIT_SKIP_PATH_CHECK=yes
    curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
    export PATH="$HOME"/.cargo/bin:"$PATH"
fi
