PyO3 / maturin

Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
https://maturin.rs
Apache License 2.0
3.98k stars 275 forks source link

--zig option support for 'maturin develop'? #2303

Closed ileixe closed 2 weeks ago

ileixe commented 2 weeks ago

Same as name. Can we support --zig field for maturin develop CLI?

$ maturin develop --locked -r --zig 
error: unexpected argument '--zig' found

  tip: to pass '--zig' as a value, use '-- --zig'

or any workaround?

messense commented 2 weeks ago

Sorry but I don't see the point of providing zig support in maturin develop, it does not need cross compilation, it's for local development only.

ileixe commented 2 weeks ago

We've used zig build even for local development to isolate libraries, but I understand it's very long tail requirement. Thanks for answer.