From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 aKKCO1p35WGeHQEAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 15:04:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oP8XNFp35WGV9wAAG6o9tA (envelope-from ) for ; Mon, 17 Jan 2022 15:04:10 +0100 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 81F2C3ADD1 for ; Mon, 17 Jan 2022 15:04:10 +0100 (CET) Received: from localhost ([::1]:58684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9ScD-0002Cu-ND for larch@yhetil.org; Mon, 17 Jan 2022 09:04:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Riy-00074h-6Y for guix-patches@gnu.org; Mon, 17 Jan 2022 08:07:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9Rix-0005gm-T8 for guix-patches@gnu.org; Mon, 17 Jan 2022 08:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9Rix-0004G5-Ou for guix-patches@gnu.org; Mon, 17 Jan 2022 08:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53315] [PATCH 009/150] gnu: Add rust-cpufeatures-0.2. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jan 2022 13:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53315 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53315@debbugs.gnu.org Received: via spool by 53315-submit@debbugs.gnu.org id=B53315.164242481316312 (code B ref 53315); Mon, 17 Jan 2022 13:07:03 +0000 Received: (at 53315) by debbugs.gnu.org; 17 Jan 2022 13:06:53 +0000 Received: from localhost ([127.0.0.1]:44991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Rin-0004F2-Fs for submit@debbugs.gnu.org; Mon, 17 Jan 2022 08:06:53 -0500 Received: from mout02.posteo.de ([185.67.36.66]:35187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Ril-0004Em-Sj for 53315@debbugs.gnu.org; Mon, 17 Jan 2022 08:06:52 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5BBCD240103 for <53315@debbugs.gnu.org>; Mon, 17 Jan 2022 14:06:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1642424806; bh=hHFMJnt41rXhy6AX92a1hZsTk+mIFjN63pB3ejcEkmA=; h=From:To:Subject:Date:From; b=lAcAid6fG9NcUU+nPGjR3IrxG6sOUzIQZqGglyrbYxErCBo6azckrCl0ntY+BuKzP SjSzsBG4ELiEJ9nV4H8nUpwC39nP9b7m+h5wDKD/8ZThvLrP14quAg/83e+37REDJW eREX9Qg3CQu/ZXnvxnKGOe+lKJKorLHnDZGUAMo0jpgiLX3KcoL3h/F3FGESsYn2hQ TTB03pkzFlcDVzQEoUYqsd+ZyM2crXLDeLz+3e9iB91gWKJe3oquZEBajwg/g7e8pk ftJdxgVkcs1ho7ILBRm5JNoRuG6k+k+twPmpYRohSRje7QdkAYW4whBE3pkilBcPsa r74jH5ST/24JA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JcscP5RYkz9rxV for <53315@debbugs.gnu.org>; Mon, 17 Jan 2022 14:06:45 +0100 (CET) From: Aleksandr Vityazev In-Reply-To: References: Message-Id: Date: Mon, 17 Jan 2022 13:06:44 +0000 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642428250; 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: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=uoSq56n2IA/gtGNpWWHWLaJfabSPbOiZiwba9D+VNXM=; b=V2lOMF/nIYR6yMQKftzQGXPfXuH09UTmtToyFR4mE+YcLfy1qi90+tfRbHvppRTBAGwYjp drX/X9VYrpoEAohQ2d7Fe6BhXFj2s4zcLG8aZ5QnJmz/QXEZEAVDtRYu7L7L7pPI3NW/ME h169+2K7lpoLTnv+kC3fMGWXRJLmJPaxdnI4syUTdoI3ckm7GM8ixHq/QWI47WYZ91WPHx sCEkn2rplzNvpslDsJVg3CVZzuST1NC+V8tkdP++B7ruZfxF6oEnnIAqzTixTe/VCXPE5i 0ihFT/lEdCLessrePuTDo1OOp4f92xxE7uhm+R56L7jDD9piepBPHC16xEZpSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642428250; a=rsa-sha256; cv=none; b=VYZwaa+5ZncDEXyBjKRW2VMWWveikcsGVYzq+ncGXqB6XkMgRRLO7oOYUdNkLJnnkXBh84 aZ3vf1n7dAzqsgt6vdb6kOQyaWfRXqtPO5BMpSjk/eVJKHlq13GYLpefTaee65V2qayhh7 itH49DaLjDQ4hIhFiirbi/7gkXymFbSpyvd2qwcBVsrbaxTU7/7x1vUFeI3aQzbuYV6bHn gmg7gBhW3V5wMKrPdphJP8XcS/Z5u8GCWX/ogRx1nt2wPrhSZKL6ZFCboBlsoqKJGSG7QE USx80IYhz6BeB36GMFYVbz17jIkWKP1lkIaYm04STFH9OXBLjBJxfYp/XVGHKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=lAcAid6f; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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" X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=lAcAid6f; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (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" X-Migadu-Queue-Id: 81F2C3ADD1 X-Spam-Score: -1.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: iCunlp5aGXL9 * gnu/packages/crates-io.scm (rust-cpufeatures-0.2): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fec6568a45..44b4286054 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11865,6 +11865,31 @@ (define-public rust-cpp-demangle-0.2 (("rust-clap" ,rust-clap-2) ("rust-diff" ,rust-diff-0.1)))))) +(define-public rust-cpufeatures-0.2 + (package + (name "rust-cpufeatures-2") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cpufeatures" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sgllzsvs8hinylaiigmd9c908gd8wclxnqz8dinpxbdyql981cm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/RustCrypto/utils") + (synopsis + "Alternative to the @code{is_x86_feature_detected!} macro") + (description + "Cpufeatures is a lightweight and efficient no-std compatible alternative +to the @code{is_x86_feature_detected!} macro.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cpufeatures-0.1 (package (name "rust-cpufeatures") -- 2.34.0 -- Aleksandr Vityazev