-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Windows as a release target #880
Comments
I’m not sure how satisfactory it would be, but it looks like MUSL binary for Linux should just work on WSL. I don’t have a Windows machine at hand now to test it though. If it works and if supporting only Windows systems with WSL is fine, we can additionally make a Chocolatier package to install a wrapper to make it possible to invoke just Alternatively, we can try to compile natively. It probably would be easiest to do with MinGW (native dependencies build scripts should work similarly to Linux), although it would link to some LGPL libraries. I’m not sure would MSVC community license allow us to use it for Vector, but if it would, it it is also a question do all native dependencies support building with MSVC tools instead of |
I had a go at compiling on Windows using MSVC, and it mostly works though I had to disable several features (namely file sources/sinks, signal handling, and leveldb persistence). The metrics library (hotmic) is also problematic (causes an infinite loop on windows) because it uses an outdated version of crossbeam-channel that suffers from an issue in the atomic cell implementation (see: crossbeam-rs/crossbeam#388). My fork here: (https://github.com/mchesser/vector) should compile and appears to work (though I didn't really perform any amount of testing) when compiling with |
I experimented with compilation of Vector on Windows under MSYS2/MINGW64. There were a few problems:
Note that I was compiling Vector 0.4.0 because it is the latest version supporting Rust 1.37 and this is the version of Rust in MSYS2 repository. The version 1.38 from Status of the dependencies behind feature flags:
|
This is a follow up to #879. We've received this request a few times and I'd like to start by reviewing exactly how difficult this would be and then determining if we'd like to proceed or not.
The text was updated successfully, but these errors were encountered: