infinyon / fluvio

Lean and mean distributed stream processing system written in rust and web assembly. Alternative to Kafka + Flink in one.
https://www.fluvio.io/
Apache License 2.0
3.88k stars 489 forks source link

chore: default to zigbuild for cross-compilation #4103

Closed EstebanBorai closed 4 months ago

EstebanBorai commented 4 months ago

While working on building the Fluvio image to run in Kubernetes on macOS I found that cross-compilation of Fluvio might have some incompatibility issues.

In order to speed up development I ended up using zigbuild as an alternative to cross-compile Fluvio.

In the future, perhaps it would be nice to detect host's OS and conditionally use zigbuild if running on macOS for such step.

sehz commented 4 months ago

maybe we should convert default build to use zigbuild instead?

EstebanBorai commented 4 months ago

maybe we should convert default build to use zigbuild instead?

Lets try that!

nacardin commented 4 months ago

can remove all zig related flags

I don't think so, I believe zigbuild only replaces linker, not CC.

sehz commented 4 months ago

got it