rust-lang / jobserver-rs

Apache License 2.0
69 stars 40 forks source link

Add `configure_make`: Set `MAKEFLAGS` & `MFLAGS` #42

Closed NobodyXu closed 2 years ago

NobodyXu commented 2 years ago

Fixed #24

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

alexcrichton commented 2 years ago

I don't want to undo https://github.com/alexcrichton/jobserver-rs/commit/6ac9e7ca16fd792865cf16f6d2c8155dfbf299f3, but I think making this opt-in is ok.

NobodyXu commented 2 years ago

I don't want to undo 6ac9e7c, but I think making this opt-in is ok.

I've added a new function configure_make that sets MAKEFLAGS and MFLAGS in additional to CARGO_MAKEFLAGS to keep backward compatibility.

alexcrichton commented 2 years ago

👍