From patchwork Tue Feb 1 13:52:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5031 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Jp5x00S8Qz3wp0 for ; Tue, 1 Feb 2022 13:53:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Jp5wn1LGJz4YQ; Tue, 1 Feb 2022 13:52:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Jp5wl44fTz32Ks; Tue, 1 Feb 2022 13:52:55 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Jp5wk32xlz30JC for ; Tue, 1 Feb 2022 13:52:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Jp5wk26fyz2L8; Tue, 1 Feb 2022 13:52:54 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643723574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7MEj6VBQkfDyihScCzQK02dMN+CJnc97TBLhUMVc9fg=; b=zkQRCtjCiu4mSTu9QNLup1PXgPF3ksll9oFIRmVAzpepQ3AXJ2Z1lsqt8uPxJmvTM95Ffa LtqFXsrHyceeJ5BA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643723574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7MEj6VBQkfDyihScCzQK02dMN+CJnc97TBLhUMVc9fg=; b=RxiZLeXS1+45TMymh+unXUV9ImsvVz3ygm5eavJsQv++1cfvcSbtbOGPFKg/j3gDg8TS8W akliEaKjmq0skY/SugtqNu5x0BzlfmbgJBs0HXPFVgfeGOTDHmw7KEjXHpcXad8mhTObep f2/iiSmVDo6aC8GUmFdNcmZE6QbalvbdINAC4VqPfkl0Bvar2VVPEMd+kT0BZE5pXGa1VQ o95OKJVwRYbzlIepnVjbVq/TJaWPchlV39QGF+ASnLK4kf8kApt/0HVmf6NF7PXE35G75i Jrxfxau07mLYbPDykWzGNkyToATlNDrQNUICWizMHcF0Q378NKkNHpm20Bz/Eg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 07/10] rust: Enable more checks for when to install package files Date: Tue, 1 Feb 2022 13:52:43 +0000 Message-Id: <20220201135246.4096955-7-michael.tremer@ipfire.org> In-Reply-To: <20220201135246.4096955-1-michael.tremer@ipfire.org> References: <20220201135246.4096955-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/Config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/Config b/lfs/Config index 3ae5425ee..d2f9c4bf9 100644 --- a/lfs/Config +++ b/lfs/Config @@ -213,7 +213,7 @@ CARGO_TARGET_CHECK = $(CARGO) metadata --format-version 1 --no-deps | \ define CARGO_INSTALL mkdir -pv "$(CRATE_PATH)" && \ - if $(call CARGO_TARGET_CHECK,lib); then \ + if $(call CARGO_TARGET_CHECK,lib) || $(call CARGO_TARGET_CHECK,rlib) || $(call CARGO_TARGET_CHECK,proc-macro); then \ awk \ '/^\\\[((.+\\\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\\\[/{f=0}; !f' \ < Cargo.toml > Cargo.toml.deps && \