test -d linux || git clone https://github.com/AsahiLinux/linux
cd linux
git fetch -a -t
- git reset --hard asahi-6.2-rc3-7;
+ git reset --hard asahi-6.2-1;
cat ../../config.txt > .config
make LLVM=${CLANG_VERSION} rustavailable
make LLVM=${CLANG_VERSION} olddefconfig
rm -rf ${CARGO_HOME} ${RUSTUP_HOME}
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain none
source "$(pwd)/build/cargo/env"
- rustup override set 1.62.0
+ rustup override set 1.66.0
rustup component add rust-src
cargo install --locked --version 0.56.0 bindgen
rustup component add rustfmt