You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CheezeNotes/pages/perso-cross.md

633 B

retour

Installation cross compilation (sous Debian pour windows avec sqlite)

cargo install -f cross   rustup target add x86_64-pc-windows-gnu   rustup target add x86_64-pc-windows-msvc   sudo apt install gcc-mingw-w64-x86-64-win32   sudo apt install g++-mingw-w64-x86-64-win32  

Exécution

cargo build --release --target x86_64-pc-windows-gnu ou   cargo build --release --target x86_64-pc-windows-msvc

Avec sqlite (rusqlite)

sudo apt install libsqlite3-dev Dans Cargo.toml, définir rusqlite de cette manière : rusqlite = {version = "0.28.0", features=["bundled"]}