GNU bug report logs - #74767
[PATCH rust-team 00/23] Add py-spy.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 10 Dec 2024 14:17:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 74767 <at> debbugs.gnu.org
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
Hi Efraim,

Efraim Flashner <efraim <at> 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




This bug report was last modified 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.