≈ the.bay.news

Cross-compiling rust project for windows

NixOS Discourse
Cross-compiling rust project for windows
Continuation from my previous post: I want to cross-compile a windows binary from my NixOS system. I’ve spent this morning looking at tutorials and previous help posts, but haven’t ended up with anything that works yet. Here’s the repo for the project: https://gitgud.io/neropatti/peanuts I’m trying to compile with the command cargo build --target x86_64-pc-windows-gnu using this shell.nix: { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { # nativeBuildInputs is usually what you want -- tool...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.