cargo-zigbuild VS msvc-wine-rust

Compare cargo-zigbuild vs msvc-wine-rust and see what are their differences.

cargo-zigbuild

Compile Cargo project with zig as linker (by rust-cross)

msvc-wine-rust

Cross compile Rust programs to the MSVC Windows target using Wine (by est31)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cargo-zigbuild msvc-wine-rust
19 3
1,240 60
7.9% -
8.6 0.0
30 days ago over 2 years ago
Rust Shell
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

cargo-zigbuild

Posts with mentions or reviews of cargo-zigbuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-17.

msvc-wine-rust

Posts with mentions or reviews of msvc-wine-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-17.
  • Show HN: macOS-cross-compiler ā€“ Compile binaries for macOS on Linux
    7 projects | news.ycombinator.com | 17 Feb 2024
    AFAIK, there are no blockers really, it's just that Rust does not have its own linker, it delegates linkage to the system linker depending on the target. <https://rust-lang.github.io/rustup/cross-compilation.html?hi...>

    You can specify your own linker if you want, mold is a very popular one, and cargo-zigbuild does the same behind the scenes with zig cc as the linker.

    I did something similar a couple of months ago (or a year ago? I don't remember exactly). I managed to cross-compile to windows-msvc on Linux using Wine, there's a project that provides the scripts to make this easier, including the linker wrapper: <https://github.com/est31/msvc-wine-rust>. It was just for fun because Rust can already target windows-gnu and it'll use mingw64 linker.

    Rust's approach to things is normally to provide the basic foundation and let the community build on top of it. I personally like this approach, but it also has this downside of people not knowing they may need an external/community built tool to accomplish what they want.

  • Rustup on Windows will soon give the option to auto install Visual Studio prerequisites
    3 projects | /r/rust | 11 Jun 2022
    That's pretty neat! Generally though, I advise staying away from the official installer, it puts a lot of stuff onto the hard disk, not sure what, but suddenly a lot of free space is gone. If you download the components manually and install them manually, you reach a way smaller footprint. I've done that thing 5 years ago but not maintained it since as I don't need it any more, but: https://github.com/est31/msvc-wine-rust
  • Minimal Windows 10 SDK: For a smaller MSVC install
    1 project | /r/rust | 29 May 2021
    See also: https://github.com/est31/msvc-wine-rust

What are some alternatives?

When comparing cargo-zigbuild and msvc-wine-rust you can also consider the following projects:

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

rust.aws-cdk-lambda - A CDK (v2) Construct Library for AWS Lambda in Rust

aws-lambda-rust-runtime - A Rust runtime for AWS Lambda

serverless-rust-demo - Sample serverless application written in Rust

terminal-typeracer

doom - DOOM translated from C to V.

ci - AppVeyor community support repository

embed-c - Embed C code at compile time inside Rust using C2Rust

meta-debian - Meta-layer for Poky to build embedded Linux environments by Debian's source codes

aws-sam-cli-app-templates

wally - The Flash(ing tool)