Files
owlen/scripts/check-windows.sh

14 lines
373 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if ! rustup target list --installed | grep -q "x86_64-pc-windows-gnu"; then
echo "Installing Windows GNU target..."
rustup target add x86_64-pc-windows-gnu
fi
echo "Running cargo check for Windows (x86_64-pc-windows-gnu)..."
cargo check --target x86_64-pc-windows-gnu
echo "Windows compatibility check completed successfully."