☣️

スクリプトメモ

2025/02/16に公開

初期化

sudo apt-get update

cargoダウンロード・インストール

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
export PATH=$PATH:$HOME/.cargo/bin

rust、win向けビルドセットアップ

sudo apt install mingw-w64
cargo build --target x86_64-pc-windows-gnu
sudo apt install g++-mingw-w64-x86-64

rust win向けビルド

cargo build --target x86_64-pc-windows-gnu
ls target/x86_64-pc-windows-gnu/debug/

liblcfのWin向けビルド

Discussion