[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build?
From: |
Maxim Cournoyer |
Subject: |
[bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments. |
Date: |
Wed, 11 Dec 2024 10:11:47 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Efraim,
Efraim Flashner <efraim@flashner.co.il> writes:
> Should probably have cargo test not honor both parallel-build and
> parallel-tests at the same time.
According to the doc [0], these switches are different; -j will cause the
test binaries or other assets to be built in parallel, while
--test-threads will cause the parallelization of tests. I believe
that's the same we currently do for gnu-build-system.
[0]
https://doc.rust-lang.org/cargo/commands/cargo-test.html#miscellaneous-options
> Also, currently the builds and tests try to use all the cores available,
> so if parallel-{build,tests} is false it should go down to 1.
Good point. I'll fix that.
--
Thanks,
Maxim
- [bug#74767] [PATCH rust-team 00/23] Add py-spy., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 03/23] build/cargo: Resolve byte compilation warning., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 01/23] build/cargo: Delete trailing #t in phases., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 07/23] gnu: rust-libc-0.2: Update to 0.2.168., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 04/23] gnu: Add rust-read-process-memory-0.1., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 05/23] gnu: Update ust-wasmparser to 0.218., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 06/23] gnu: rust-ruzstd-0.7: Update to 0.7.3., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 09/23] gnu: rust-syn-test-suite-0.0.0: Update to 0.0.0+test., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 14/23] gnu: Add rust-goblin-0.9., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 11/23] gnu: Add rust-zerocopy-derive-0.8., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 21/23] gnu: rust-inferno-0.11: Update to 0.11.21., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 13/23] gnu: rust-gimli-0.31: Update to 0.31.1., Maxim Cournoyer, 2024/12/10
- [bug#74767] [PATCH rust-team 20/23] gnu: rust-rle-decode-fast-1: Update to 1.0.3., Maxim Cournoyer, 2024/12/10