From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id LnJiI44bSGIzJAEAgWs5BA (envelope-from ) for ; Sat, 02 Apr 2022 11:46:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kJj5Ho4bSGJ8jwAAauVa8A (envelope-from ) for ; Sat, 02 Apr 2022 11:46:54 +0200 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 054202817E for ; Sat, 2 Apr 2022 11:46:53 +0200 (CEST) Received: from localhost ([::1]:35444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naaLM-0007C9-TU for larch@yhetil.org; Sat, 02 Apr 2022 05:46:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naaKW-0007C0-UU for guix-devel@gnu.org; Sat, 02 Apr 2022 05:46:00 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:47293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naaKU-0001lj-Ph for guix-devel@gnu.org; Sat, 02 Apr 2022 05:46:00 -0400 Received: from hermia.goebel-consult.de ([46.87.141.69]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MY6P5-1nVRNz48Mf-00YV8o; Sat, 02 Apr 2022 11:45:51 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 757946212A; Sat, 2 Apr 2022 11:45:52 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------FDQf2waHypHm2pDcDA5U7PGn" Message-ID: <964a284a-2f3d-689c-78f2-d1f4c9b34f78@crazy-compilers.com> Date: Sat, 2 Apr 2022 11:45:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Removing #:skip-build? from the crate importer? Content-Language: en-US To: Maxime Devos , Liliana Marie Prikler References: <0fcc64bf008af471370e6704bffeb3c0174861be.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <0fcc64bf008af471370e6704bffeb3c0174861be.camel@telenet.be> X-Provags-ID: V03:K1:R7nU3AUHVDpVvs6HzapV/5NMAOhMCqxd2KN7KHla3H6TuQQGlpl B80V4pBBGnl88+ri/mpMb2luOAkuxoUeSayR9rQDKrKGNKJL5aRmhW1PkJeB2+eGZ/jDKdH tJsxeoRm2dToVeNTFN6Ao9vpRAKBdG2R4LqIeynckVYo2IoKIAZBk6/48B5n8xz5ZsalWVm jUYF0ocCIYszji048TsCg== X-UI-Out-Filterresults: notjunk:1;V03:K0:hEy48H0Yksg=:fw0bc8hkvkzevNqG5YJF/5 Rf7y36XgGOnKuGs17kK/mA0iFCzg1FRh9Z4oFrkE3sY9qnvxAiEFkfukMOIkhYP3h4BStUWU2 HQ+t3kM31yZVClgYEJ3GDZbY/cD47K4X2MFTRMv9ITAoXuYhU/X00tdxwJb5ih8esg3Hog3D6 MS6KXx+MIIJEvtKBcC8ePLSNyrvhmIQmoj4blAyZDFIWgiB0+Ji8jfght6N5hzNx1hs8pLKR3 DGhJWCV1A78Jtt0rgrQktwyfexJTu8iDCuxkC3ELr9mYpv749uPAgiMbciYdwtMXxNDQ28QtW o9o5jqm2mcecBsOFZFd5q96B5jFA0jYd9rOWI62g92TLLVfuXNyquVp8xYyuMwBfgeL35wmoR yHZTtQRz0licOhq5EzfR5qmBAKsrkw1jrprQPRbieY97h+4clvojfBjLQ9d6+06XrD07G6WNj Yc0F2ZPAPimUV+XiRpmUs7/UwYy0jkgxwgVI6/3nZE0k2HZmWeEVKq/z8ula5vr1vZXAgEYlV XViX92lP4bXlWLBY9ODGAnrPkl8LoKK86bHqi5sA8HjV2d1SW0ksyuw7RuKmut6QvsvSIXlPo /YYDSlpoXyK/ZQxpYP4yN4B7rgZFZdMKxmzf/e+ZlPEcn+pZd1h3g1wR9yJCmeOBIRokFyh9J LJeV976t0KP12bQN88gcRp09rvpJPB571tBu/JT89c/HrM+9j6NwufjVoc3IgyrzRL3JfJALH Bd1efOZQfSL5dCBX Received-SPF: none client-ip=217.72.192.74; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648892814; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=6ogUrEec+LCDtyaawdhjfSVjzmtbUzCDq7qkbA0jE4M=; b=IDGxrkWiUd0NvMflUY2L0CyxGmt9Vou2agH/+x78zvt6WVsnGNCcJRbIvPB6akQaRqVAgM rJTHrCy4rjVSdNSo67EH0KRZdB8tEK3fBowEFOS3ti08W3S8LlOaER9chMqWbYtpW/2LTr ST5zTu6o82edzy9KFiDIoqa1KSdrbNxsfLGwSVEKIAwHzMat1EbZP8SxdoaRR8u3hT+koc BQIkwhSGHM+atII5qTSOiJN13pVaJRApY4jB12p1msc6aEZOnOurMaa3bDQxA/J1BqCI6l mTls6AZblyZ1nKqt8+0Lum/QidXZt8PACu8Nu+EBe+4gqV3U7LC7eZJyKnTJTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648892814; a=rsa-sha256; cv=none; b=I1yNSRAjEp8owppM+v3EipMFQVnz1rn6OEb7U7jDZa+Z5OXEC5oXsuzsxt420wLwF2G+sQ IEnyHzXJNeUiMRsVbWIxnFU2xgJlAGucB1rn3ALLoqPb05KlidgHwtaqb05W/WvhgaheOr ZqJDoL7JHvTlSrdY2yOxWettL6PBdefJfhS42bLcMWMGUOAh9sNQ13zX1ZuAnzO09tow98 J5MPzk8LtU2ZJgeJ7MUxJei2kg8OcXJo+amIkEhY1d4Infh6CFGtB5YKKAdUGc9LzFQjMd 1ov9KQXdCy+rdWz7yMy5xSWSW4wCzb0OK0cxOzVqJiZlbELCaKk7LZKdiux7kQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.68 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 054202817E X-Spam-Score: -2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: Vs0PJfqckXLA This is a multi-part message in MIME format. --------------FDQf2waHypHm2pDcDA5U7PGn Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 31.03.22 um 21:14 schrieb Maxime Devos: >> There are a few counter-proposals.  One suggestion that has been >> raised, but not yet implemented, would be to make it so that build >> results can actually be reused.  This is the most promising >> conceptually, but from what I can gather from those working on it might >> not be that easy to pull off. > Yes, that would be nice. AFAIK Effraim and me tried to make cargo pick up artifacts build in another package. I gave somewhen: cargo did not pick up the artifacts, due to much „magic“ which I was unable to understand and work around. One of the topics here are „features“ (like compile-time options), timestamps, exact absolute pathname, etc. All of this seems to go into some hash, which will determine which files will be rebuild. If anybody is interested, I could share the code of my last try. (Maybe the road to go would be to make cargo less strict here. But this requires understanding rust code and cargo.) -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------FDQf2waHypHm2pDcDA5U7PGn Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 31.03.22 um 21:14 schrieb Maxime Devos:
There are a few counter-proposals.  One suggestion that has been
raised, but not yet implemented, would be to make it so that build
results can actually be reused.  This is the most promising
conceptually, but from what I can gather from those working on it might
not be that easy to pull off.
Yes, that would be nice.  

AFAIK Effraim and me tried to make cargo pick up artifacts build in another package. I gave somewhen: cargo did not pick up the artifacts, due to much „magic“ which I was unable to understand and work around.

One of the topics here are „features“ (like compile-time options), timestamps, exact absolute pathname, etc. All of this seems to go into some hash, which will determine which files will be rebuild. If anybody is interested, I could share the code of my last try. (Maybe the road to go would be to make cargo less strict here. But this requires understanding rust code and cargo.)


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------FDQf2waHypHm2pDcDA5U7PGn--