From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OLyBEc9CUmBcRAAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 17:56:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eOYvDc9CUmBTNgAAbx9fmQ (envelope-from ) for ; Wed, 17 Mar 2021 17:56:31 +0000 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 D50161FD5D for ; Wed, 17 Mar 2021 18:56:30 +0100 (CET) Received: from localhost ([::1]:55750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMaPG-0005b5-1o for larch@yhetil.org; Wed, 17 Mar 2021 13:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0o-0000OV-AS for guix-devel@gnu.org; Wed, 17 Mar 2021 13:31:14 -0400 Received: from mx1.riseup.net ([198.252.153.129]:37810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0k-0003oe-P3 for guix-devel@gnu.org; Wed, 17 Mar 2021 13:31:13 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F0xyf2l8JzDxn1 for ; Wed, 17 Mar 2021 10:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1616002266; bh=JduotDRncNA6pC+LRGTzHrbSFC5NQccHnirbnLqlACU=; h=Date:From:To:Subject:From; b=O1dE5Ap0gfcbU9lL4S2au++XolfFuyAkG6TmLYZcBkgaBZeMT8JAG51v6bQLe5Cmk 5SSzX96xoFZdaV2Gwg/y+j6+EXustoVBGN+dM05eMX0lDaVLShzY4PDufKrWfOq4ei XoQFil1zmhWaZjkpExe+7L1SNnLTg8EJ+pMj4cIA= X-Riseup-User-ID: FB8D2B8E675B4D5CF43D323C706CBBA76AAF2E836F637293ED9663E2DE3E2ACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4F0xyd4kR8z5vhN for ; Wed, 17 Mar 2021 10:31:05 -0700 (PDT) Date: Wed, 17 Mar 2021 18:30:31 +0100 From: raingloom To: "guix-devel@gnu.org" Subject: Rust and parametric packages Message-ID: <20210317183031.45a5031d@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616003790; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JduotDRncNA6pC+LRGTzHrbSFC5NQccHnirbnLqlACU=; b=n6mhozgqv3lNB6oTpIu68dTkGVmwwQ32sfVMaxQgLvMHWWGXxeIdv9sqOvRIsFloDNS2TY X1TTRcL0fKTrgH5+F0hgAMNfwryQlTg0KO5zBzz2xKIywKf5gaswdpqgg/0/IhIfsYl9Hp ffLsgV1krtQZl5AbCBFXyGg+2sPgVeUdXySs009mc+fn1lenGuSUFnGyHiUNk/Vr05TCRa vXQA3zsZ39p98K9LDx5i8VxcYTXDt3IfM6Bd/3waP60NMDtNRL4Orv9hj4cmTmimlZEfIm V3awunK9+t+fwLeTgaXtJni8WEAu+af/bgGD9j/34iV4n2SUclHswTVHRjR2Xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616003790; a=rsa-sha256; cv=none; b=ZX6bjjGCYsrE9So7WMAWLHmdpz9NuBC9xyI2MLcv9ctcXXBtl/s4BBu12bwc5eHIWUHFu/ L9rpX0IWNnHVv5cIlGhsogQwEEPLjMcFQ3yJYlCrU8rKrp9/Yonba809p8xPfmDYd/DIhJ Yy0kltQQ9Rqsah+BTQE9NY8Fh2fmdunn94tyrA1rx2BKmNZC6Sshm+DZ5AS/5KOIY/KQCI GE4zvdXu8WovVotwY/7EyxHc/EsioLcx9FnwoAhTnk3CUAW2nTGtFyAsNUysR7xp2TxBDy 3XewQhLzu5Fg6uMGPCN98rVR4g4DhJ4Cphktc1rJv1sRpVNbPR6aQNamvYSr/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=O1dE5Ap0; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=O1dE5Ap0; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: D50161FD5D X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: pcAVuk7XUlo4 I'm re-reading the threads about Rust packaging and I realized there might be a solution to the build artifact reuse problem. As I understand it, the problem is that crates can be compiled with any number of features enabled or disabled. If this and the compiler version are truly the only variables to consider, we could just lift the features to the package level, right? https://lists.gnu.org/archive/html/guix-devel/2021-02/msg00269.html