xwin
cargo-xwin
xwin | cargo-xwin | |
---|---|---|
5 | 6 | |
327 | 286 | |
- | 7.3% | |
7.4 | 8.0 | |
about 1 month ago | 13 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xwin
-
Because cross-compiling binaries for Windows is easier than building natively
There's tooling that mostly avoids this. https://github.com/Jake-Shadle/xwin
This is a utility that fixes a lot of the cross-compiling issues for windows by giving you a portable, unfucked naming, and not-massive SDK. It's the same SDK you get when you install MSVC but it's only a few hundred megs and the names are consistent even with all of Windows' fucked up tooling.
The only caveat is you need to provide your own compiler, in this case clang is often the best option.
-
cargo-xwinbuild v0.3.0 supports cross compile to Windows with CMake dependency
cargo-xwinbuild is a thin wrapper of xwin provides a Cargo subcommand xwinbuild to make cross compiling to Windows MSVC target just work.
-
Announcing cargo-xwinbuild: Cross compile Cargo project to Windows msvc target with ease
This situation bugs me a lot, and I remembered a blog post about the xwin which makes cross compiling Windows binaries from Linux quite easy, but it requires a lot of manual setup. While using Docker containers make it easier, it's also slower.
-
Am I the only one who finds Rust to be centered around Linux? Any Windows devs want to share their experience with Rust?
I will do you one better. When I do windows development, I work within WSL and use the cross-compiler toolchain to generate windows binaries. I have found "Xwin" to be very useful for this: https://github.com/Jake-Shadle/xwin
-
Blog post: Cross compiling Rust Windows binaries from Linux
I've just pushed a 0.1.1 release that fixes this issue, unsure why the windows crate decided to use screaming case in their link names but I'm sure they're not the only ones.
cargo-xwin
-
[Review] Introducing cargo-xwin: A Solution for Cross-Compiling Rust on macOS to MSVC
Today, I am excited to introduce a real game-changer - the [cargo-xwin](https://github.com/rust-cross/cargo-xwin) crate! After countless trials and errors, cargo-xwin was the only one that truly met my needs.
-
Release Engineering Is Exhausting So Here's cargo-dist
I couldn't tell you the licensing implications but the cargo-zigbuild developer also made cargo-xwin: https://github.com/rust-cross/cargo-xwin
-
Crosscompiling from fedora to Windows
I thought you could already cross compile to -windows-msvc targets from Linux using cargo-xwin?
-
Cross-compilation in Rust
I've personally used cargo-zigbuild and cargo-xwin to distribute a GUI app built with iced.
-
cargo-xwinbuild v0.3.0 supports cross compile to Windows with CMake dependency
cargo-xwinbuild is a thin wrapper of xwin provides a Cargo subcommand xwinbuild to make cross compiling to Windows MSVC target just work.
-
Announcing cargo-xwinbuild: Cross compile Cargo project to Windows msvc target with ease
So I thought I can try to make another Cargo subcommand which integrates xwin and automates the boring stuffs for you, here comes cargo-xwinbuild: https://github.com/messense/cargo-xwinbuild
What are some alternatives?
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
cargo-dist - 📦 shippable application packaging
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
msvc-llvm-nix
cargo-zigbuild - Compile Cargo project with zig as linker
music-vibes - Desktop app for translating audio output into vibrations
darling - Darwin/macOS emulation layer for Linux
xlsxwriter-rs - Excel file writer for Rust
mxe - MXE (M cross environment)
open_safety - An application to assist with securing script execution
Umpire - Combat Quest of the Millennium