From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gPceI3fnWGd1KQEAqHPOHw:P1 (envelope-from ) for ; Wed, 11 Dec 2024 01:14:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gPceI3fnWGd1KQEAqHPOHw (envelope-from ) for ; Wed, 11 Dec 2024 02:14:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iuYoPCe4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="IG/wevIP"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733879671; a=rsa-sha256; cv=none; b=FekdJC7hEPL+UJnL0TZTFRaG2CJ8b8DcEpdd24INEG1skFoNxOd+y3Iu4yZqi11rmaJUqt COMg9HlsvcUVIoneqlY1nkqvrXLZKrqNG98nXwq9lYUd/nYQHqXbBaKAA59fyRHIvUjeJ5 VoaKU7trgLPgTpe4LbxuLObuRAsP9n09w5cFL+lmeFFg9D/fXC/sogmK5CqdGstLL0f+wm as8ZYsRdeE6UdknfMSSQnikb/cJVNN2okn+4oUXMSW9v0bzKviosPIPtQ3RaJ8tZ+WjC3m k8ww6nqA/12XsSBvKw9QDrNEw4jS9u19mEfGzaaa0ZVmxL6b9EoC/b0lgerq7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=iuYoPCe4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="IG/wevIP"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733879671; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=KO6D6NAgQkpWfx/lmmxRnZSljfBjSrL95FpM4V52g48=; b=D+uCDkgka73/o9iQQFgKnuQidlwZ21xC36PT9xMYGMS/bIFbtXj3zLrtiZ7coyV4XBNjt3 e+fs6Z1S6GlKCsHQKdHwnjk6E7oKPp5pV7Mk4dCyGoEvlgATVSNubYppzm1bASnoxeNWb9 XaPeL9uVm4XauqB+a2Yf/moV8op8JSjdjvx3nAgQPQSi+m6HduhZ2h/xtI6gPOi81PGmzO XhQIkjAvWbdTwB51778Q902g6GsafuOkLNhIxtZLYSQmRtiyPB9WGsT0/FVIcR3bRjp2go TAEpl37BXHZdN7wL5CJie3+zXaSuIMcBMa0c5uzoc0pfaNMX0c+i5zlMkeaAlA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33E681E82D for ; Wed, 11 Dec 2024 02:14:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLBIi-0005l3-Sd; Tue, 10 Dec 2024 20:14:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLBIh-0005kn-Gb for guix-patches@gnu.org; Tue, 10 Dec 2024 20:14:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLBIh-0003tm-7d for guix-patches@gnu.org; Tue, 10 Dec 2024 20:14:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=KO6D6NAgQkpWfx/lmmxRnZSljfBjSrL95FpM4V52g48=; b=iuYoPCe4LmfgTSZ+63cjiQdwLR8l1BzWssoEhHiMK1l7SS1yJhcH8CVUxz23OSBa9FXpXe+bbvuwhvc74qqp7uQe8Y9oN9r2rQ8NXE9f76jQuKaIzev9q+Rpx6UNphgR7AM5Qn5iWH+iC16sBBrBK3lMK6pDlfUQmVn1Davjpt2diTK22+9syPoszbCaeCpj9hAMbDa6HUmu5KwnEtk2a5AFuG4szGLpAJ0rLM7OU/t8Mq+ER9vLIwa1zT6DDZWbzXdJoFnJgOB/Hh9prXW38b6jBXcsKpR/EnOj5u3GYECywppZ6KFiOmmNccxwOODa0J/JHUwEM/8Os6QrV6oVpw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLBIg-0004BQ-1p for guix-patches@gnu.org; Tue, 10 Dec 2024 20:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74767] [PATCH rust-team 02/23] build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Dec 2024 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 74767@debbugs.gnu.org Received: via spool by 74767-submit@debbugs.gnu.org id=B74767.173387958815906 (code B ref 74767); Wed, 11 Dec 2024 01:14:02 +0000 Received: (at 74767) by debbugs.gnu.org; 11 Dec 2024 01:13:08 +0000 Received: from localhost ([127.0.0.1]:60257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLBHn-00048U-El for submit@debbugs.gnu.org; Tue, 10 Dec 2024 20:13:07 -0500 Received: from mail-pf1-f180.google.com ([209.85.210.180]:48291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLBHl-00047m-8B for 74767@debbugs.gnu.org; Tue, 10 Dec 2024 20:13:06 -0500 Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-72739105e02so2218814b3a.0 for <74767@debbugs.gnu.org>; Tue, 10 Dec 2024 17:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733879518; x=1734484318; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KO6D6NAgQkpWfx/lmmxRnZSljfBjSrL95FpM4V52g48=; b=IG/wevIP29+/SffvlU3Z4PsRbWOC4TafuBP4+FYHaK5kDYz32csfjJUo3yeQhEe7qx B5kx7QchxyOeFfxx654Ff9bfDnCZqvRFF+EOGPTx3BAJ0l7H4GCiaf8dJwAXDJFBAziV tAl/g2ybDIHSW4md+9vCNHoaofWYg/R+8juD5NJOHrok1w0eWOhAbGyoYiEzHwkINLrF KkGciK7GVXalqwB+jdUpEFPNBV/kkCAJ3Isnn3Wp++Axm+dmRxI8KP3OBAeGwTDY9NrY 9hehFKlYr4Cg+9oklpXIEsrBt7YyI7zikLyPARxsZm5+qAo6LTBel6B9spnCHqQQnyz+ LB4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733879518; x=1734484318; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KO6D6NAgQkpWfx/lmmxRnZSljfBjSrL95FpM4V52g48=; b=SYYSE45qY1k+/UloCJMU8GFqzI/8UfEVgaewT2zE1lU2zv8tTU4kjUUw4x7k5KM8vH /LkQ7bxCgDGSsMCjPCD36Fcd5L98ieD4NZ8AP7v2OTQcjg07K5IV9w+70JTMUt6AEQVO 8WePxxebssfFdpoGXuVAwL0loPSGkCS91Q4YRPPx7VyDgtPZWubLKle8/eN3L8zXZ8Cz a+LWGbPYfgfheSMuF4fPbYJ/+1Jh9Vl1Fx30a4/f1wCLOWlmNaJyfdRo3OgEhLESo2V3 W7zgNh1qpm+coqRTAM39Cr2OnwZd47oAYWSJWy/8mqAS+Fmf+uThdyNmgnG+EVoHG/Xl OCZg== X-Gm-Message-State: AOJu0YxCdY2AzGorIYu9gZekc0oYCl7df6UOMhLc6Ndr1iQ1iqnZrmJb V7MN1NcN/sF+pFpZNRugDG0/YqUik6SmGE8rB35PgU/v38GeKB0r8n3nTg== X-Gm-Gg: ASbGncvaItBzzk5CWAmfvR/tLV7L42yr53q7MLxdaMkh4kFnlQ7X+ZL6bMr8XXXlqR2 9dts3C0NB8NUMh6Xy9VTUQfi4+nRdMOlX8zGvlDo1g9i5ik3SeK929axAZkpQVEtwMrnvnzPUVH 6qo9sC5rH3EVEmrhcWxiMA+M3f/TleJV3SL8Z6/lLfnYFLz2oCKHwfyfoFEaAbLhMYh62/nIC7S /nyoWoTVtohxmPop0uCy92hVBy6YfPup8tMBd27y8aCIaWI3So= X-Google-Smtp-Source: AGHT+IG3wDE6jagShQkBXwDY4b1ooiprYw7JRMuYFzMTYvUuqwXX3BL51N0G6GsMaE1V9jMti6XaZw== X-Received: by 2002:a05:6a20:d50c:b0:1e0:be48:177d with SMTP id adf61e73a8af0-1e1c12ab50emr2078664637.3.1733879517638; Tue, 10 Dec 2024 17:11:57 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-725d3dd4cbasm6678138b3a.142.2024.12.10.17.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 17:11:57 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Efraim Flashner's message of "Tue, 10 Dec 2024 17:37:20 +0200") References: Date: Wed, 11 Dec 2024 10:11:47 +0900 Message-ID: <87v7vrgh0s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.48 X-Spam-Score: -5.48 X-Migadu-Queue-Id: 33E681E82D X-Migadu-Scanner: mx12.migadu.com X-TUID: bzf+jS8RnNRk Hi Efraim, Efraim Flashner 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