napi-rs / cross-build

Cross build examples
https://napi.rs/docs/cross-build/summary
34 stars 5 forks source link

Why does it install ziglang? #27

Closed wmertens closed 3 months ago

wmertens commented 3 months ago

The blame shows that it was added as part of the pure rust project, so why zig?

https://github.com/napi-rs/cross-build/blame/3930d8e51496f61d6afb200f677befc773947356/.github/workflows/pure-rust-build-on-linux.yml#L44

wmertens commented 3 months ago

self-answer: looks like it uses napi in the linking phase.