Rust: Difference between revisions
m Add usage example for cargo-xwin |
m →To Windows via a cargo plugin:: fix example to show that using a target is required |
||
| Line 152: | Line 152: | ||
* use [https://crates.io/crates/cargo-xwin cargo-xwin] with rustup install or the [https://search.nixos.org/packages?show=cargo-xwin&type=packages&query=cargo+windows nix cargo plugin] | * use [https://crates.io/crates/cargo-xwin cargo-xwin] with rustup install or the [https://search.nixos.org/packages?show=cargo-xwin&type=packages&query=cargo+windows nix cargo plugin] | ||
* run cargo commands prefixed by xwin, e.g. <code>cargo xwin run</code> | * run cargo commands prefixed by xwin, e.g. <code>cargo xwin run --target x86_64-pc-windows-msvc</code> | ||
== Unofficial overlays == | == Unofficial overlays == | ||