maturin icon indicating copy to clipboard operation
maturin copied to clipboard

Support multiple `--target` arguments?

Open messense opened this issue 3 years ago • 1 comments

Rust 1.64.0 includes support for multiple --target, it'd be nice if maturin build also supports it.

Nice to have but low priority IMO.

messense avatar Oct 11 '22 05:10 messense

Would it be possible to enhance maturin to accept multiple target flags and pass them onto cargo build? Then instead of building the different wheels sequentially, you can instead build them in parallel which would hopefully speed up the overall process.

Originally posted by @zmanji in https://github.com/PyO3/maturin/issues/1340#issue-1479392804

Technically yes, but lots of stuffs are entangled with target, so it may require a large refactoring work.

messense avatar Dec 06 '22 15:12 messense