-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Support all features on all targets when releasing #661
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
Comments
Both
If the primary goal of compiling Vector for |
I've built Vector on Alpine. The result is in this repository. Both The output of
so both |
Oh wow really nice!!!! This seems like it could work! I think the big key here is actually the fact that you brought in snappy as a dynamic lib here? Do you think it will still work if we strip all those apk dependencies after compile? |
No, Here
|
With this flag
|
This is really great! I def would like to remove the dynamic linking into libz. I think this is super useful and will greatly improve our builds. Thanks! |
Currently, Vector releases "limited" versions on select targets, such as
x86_64-unknown-linux-musl
. This is due to the fact that we have been unable to compile and statically links theleveldb
andrdkafka
libraries. Vector usesleveldb
for on-disk buffering andrdkafka
for thekafka
sink.As a short term solution we've hidden these features behind cargo feature flags, enabling the ability to build Vector without these features, which in return allow Vector to compile successfully:
This, obviously, is not ideal and is something we should resolve. A few ideas:
The text was updated successfully, but these errors were encountered: