From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qG8PCwqkRmJE5gAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 09:04:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OA/FBwqkRmJrBQEAauVa8A (envelope-from ) for ; Fri, 01 Apr 2022 09:04:42 +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 B8E83BC73 for ; Fri, 1 Apr 2022 09:04:41 +0200 (CEST) Received: from localhost ([::1]:50770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naBKq-0003EJ-Ft for larch@yhetil.org; Fri, 01 Apr 2022 03:04:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naBFf-0008HK-4o for guix-devel@gnu.org; Fri, 01 Apr 2022 02:59:19 -0400 Received: from [2001:67c:2050::465:201] (port=55892 helo=mout-p-201.mailbox.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1naBFc-0003kY-Nu for guix-devel@gnu.org; Fri, 01 Apr 2022 02:59:18 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4KV9xz3K0Yz9sQP; Fri, 1 Apr 2022 08:59:03 +0200 (CEST) Message-ID: <4b7b1c64-8f62-5282-edbe-7d64da744abe@brendan.scot> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1648796341; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VxNb/nwRircaAZ+burpmAnQWvaepvUmORm6HvCSfL6A=; b=mgPSfDpG6rYerlytQKtOQ+r+nU0JZCbB9arz5TkBHrdtDpaIZiPfdd0H1fnrpOkOvqVU90 MKov8f0D368RNmxHcCEw/w3+Y79AuQ248+f32jqK/+HUvRZJWrTYa6Gxtkwe2GExaVvyxR ch/bxRbc2iDX98eErRmQCAvPBIn0I4rbOt6pjbin2bgKV5Zbg/faLZIvgqjtQw7iPlltlA s+nWrbYOs2skQnkHiM2P4gVYWlbZrK9GsnwqY1N9iYIesia98s4r2ooYXqxwOrAMBrpmok 214gO4ZFk1A2cqewV8v7PoB67qhpGus+J2DZzehe3qgXsHWC55cPX4E1RWbJIg== Date: Fri, 1 Apr 2022 17:58:47 +1100 MIME-Version: 1.0 Subject: Re: Compiling rust things without cargo (super WIP POC) Content-Language: en-US To: Maxime Devos , Hartmut Goebel , Efraim Flashner , Liliana Marie Prikler , guix-devel@gnu.org References: <32ae0e474e295fa7f7052abd1bbb8053d2fddf16.camel@telenet.be> <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> From: Brendan Tildesley In-Reply-To: <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:67c:2050::465:201 (failed) Received-SPF: pass client-ip=2001:67c:2050::465:201; envelope-from=mail@brendan.scot; helo=mout-p-201.mailbox.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-To: mail@brendan.scot Cc: Martin Becze 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=1648796681; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VxNb/nwRircaAZ+burpmAnQWvaepvUmORm6HvCSfL6A=; b=Y6P3pvKDhv3fkkg4Qf9gpmbbCcJdK5Gky3Ydh6gO35s/oH441iUiiStA92nfRH1I+dhMZM j+5q1L3+wg3JJiYTN1WZlc533GCrRL9brV0oFYVFBPFOV2Oi9Ip2oEUpEMcjM5Gu+45JDf K5x3CAkXvBu5uSN9UsKy8HK4fkexEwWItoJvOgPklKyRfWK1IrSBhMD2N1iMxItxW8RJHv rXamTjh1gCHCmGMfKV9Kq5geFKZ3KC43UyUzTEb/2cW+hbHd+3Oo7x+w3vZTp5cf/irKTe 4CaM4O/RcXcKOSO5yXM1qfDFESa/z+vpiyBt0j0/D0yvDlLo7FjbDAA7dONKlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648796681; a=rsa-sha256; cv=none; b=CuSCELOGJBoZhc6GyVKp0ATrPCfgZK/ChApUj0/8WJIZsSeYBjXX3ioBtUREcpM70aCWSb 90rtSE830m+Jy9Rly047PKLlptxAR6cevq9U8mJMiXeimiuRPxA3/bncKnFfPfouKtnn8e qIM2gziUWwoQ6k7q1vQm2MIA9bBJL2SvQlK5k5pCqnR9+rfbH8rOUWbmWwFts0/KNAn8N3 aBJwkMsm6OkYMmqkBmc+hPEj8vawhvJgrbwtJyiKy36CUTfcBVxwJ+q387OOPA9FvnBcU8 niStuZGLB2jV8htkeqeJEYNVhRCxVjIp8wod3+nMwMQfkzk1FOMmkzvyAY5rfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=brendan.scot header.s=MBO0001 header.b=mgPSfDpG; 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.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=brendan.scot header.s=MBO0001 header.b=mgPSfDpG; 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: B8E83BC73 X-Spam-Score: -2.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9q9jPpp8LRms Recently I did the bevy (game engine) hello world tutorial[1]. To facilitate less slow iteration time when developing, it supports dynamic linking, disabling some optimizations, and using the lld linker for fast linking, although using lld failed for me. When running cargo build, only your project is recompiled quickly and linked. I was wondering how this dynamic linking might be facilitated in Guix? Note: I had to update cargo to 0.60 to compile bevy with edition2021 [1] https://bevyengine.org/learn/book/getting-started/