boot improvements and acceleration

This commit is contained in:
2025-10-12 15:00:28 -07:00
parent 5f5ef1ddd3
commit e203271e1d
3 changed files with 44 additions and 20 deletions

View File

@@ -3,15 +3,7 @@ set -e
cd "$(dirname "${0}")/.." || exit 1
NATIVE_ARCH="$(uname -m)"
[ "${NATIVE_ARCH}" = "arm64" ] && NATIVE_ARCH="aarch64"
[ "${NATIVE_ARCH}" = "amd64" ] && NATIVE_ARCH="x86_64"
if [ "$(uname)" != "Linux" ]; then
cargo clippy --workspace --fix --allow-dirty --allow-staged \
--target "${NATIVE_ARCH}-unknown-uefi"
else
cargo clippy --workspace --fix --allow-dirty --allow-staged
fi
. "hack/common.sh"
cargo clippy --workspace --fix --allow-dirty --allow-staged --target "${HOST_ARCH}-unknown-uefi"
./hack/format.sh