From nobody Wed Oct 23 01:30:16 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1729591885; cv=none; d=zohomail.com; s=zohoarc; b=NL3Fn2qdmHMKrHTyK/9ODaQYIL7WNfuoLWBx0kmLTET3J5h91gAn8RXBGdxu0PXB41lanCaT1kkQa8HuDEi3jDhAf4XceLy/pu16LHWokS0CuMSAalUad7H0OL1oqt/LGPj0VbSdJ5XMRMS5bWAUp3EmFcLWLXYo74hJrgP9nbo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729591885; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=PBRhOELsRn9xQQiWxQ4MS4Iao+woVuEtGdzYywQ/DGE=; b=HAmNHw9WWjLjOtq6Blzx6NJw1+cJyCeXR5R/MqgjrVcy5uK6BqTDHv9htenQ1xrsU+wYfl+tSQ8Mo8p3rgDwPJxGL2ThygYg2h62guc+N1tD0XX/yBraZ66SIOzVPhU3/b4Yy5kbqWwad61AbPIg2MIzlt0FYrFkdbM0nNyFzKo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1729591885075788.4864319974502; Tue, 22 Oct 2024 03:11:25 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3Bqf-000520-Nl; Tue, 22 Oct 2024 06:10:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3Bqc-0004vG-K2 for qemu-devel@nongnu.org; Tue, 22 Oct 2024 06:10:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3Bqa-0004PU-SM for qemu-devel@nongnu.org; Tue, 22 Oct 2024 06:10:42 -0400 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-651-oYG8AMCJMEi8EQj7rbhQ_Q-1; Tue, 22 Oct 2024 06:10:38 -0400 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-37d49887a2cso3024991f8f.0 for ; Tue, 22 Oct 2024 03:10:38 -0700 (PDT) Received: from avogadro.local ([151.95.144.54]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a487bdsm6312221f8f.32.2024.10.22.03.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 03:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729591840; 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=PBRhOELsRn9xQQiWxQ4MS4Iao+woVuEtGdzYywQ/DGE=; b=dx3RbDRXRWrW6XfS7FdVBurOht5OK9uDrLYVcuJe83ZQEcmDl6rS0O/l7ScYvYuRopx1/l DJGvKALZrEwDMvNF8vkPfslKvX1VlbnrBwsRjYAeHlvA2/WKMOewpDEBx8zlkAzkzlLZbp lQsQ+iJC2tMqgTR9xjZ1KBXalgiXPf8= X-MC-Unique: oYG8AMCJMEi8EQj7rbhQ_Q-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729591837; x=1730196637; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PBRhOELsRn9xQQiWxQ4MS4Iao+woVuEtGdzYywQ/DGE=; b=mTGBcSk6/qNaFqVWLG7YF+Wzro343smYVnKErSi8B5Zo5VKN2qjcQDadcRKjvnIzOp m0bIdvQs5wylvyftA5ES4OGeb84Igqv+sz4me0G3Xpel7tV/5oF2QlfPFLwCU4mtCEug snTSoc/pnoanBqOMztU0+tI1gMKOCopyQGXqXZyCNZlCBjcuO/1C3P6BW8kasWhzdqjq FuwGQFQSIIGtyAuszWN5dokM8w12/1qzdiM2LtN4onkF7ZQCvP9FmlCVazDXbNyh8Hgx DuE1zZ8zP+crmHt5omitaPOy2PzqBTTjFGOVk0zt/tsE7jIR1xq+RF5p97TLZsc/1ev7 R+0g== X-Gm-Message-State: AOJu0YyrdrUmmzhKuco3MsrMbn6xDLyBDvkEnX/rLckWZyQcLyEUf/+6 gp0l6V+LFEmCu/dY/5eJ5Lo31NAS2frFlxM5qRVp5McGZohXaRvZqO6UkHUNxh7xyf/jHnjr8QQ z3BHQlg1tUV3shcOlKQuBPv/hv6d9H/UYcLzQY/+ZHTLU7w24y05lhMmc7Gn8AmiskexMNO1QfG xJhyDWhhNNLzbT1M+FD47g+/PQTnOlCjtXwgx/L/g= X-Received: by 2002:adf:e54c:0:b0:371:6fc7:d45d with SMTP id ffacd0b85a97d-37ef1263b35mr1699932f8f.2.1729591837111; Tue, 22 Oct 2024 03:10:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMglMYBxnOmMQKOThNtR81vbuaOXQHUSglgnAY0h0XMLxiJLA1jMKp4WiYGoFYzWmn9H79nw== X-Received: by 2002:adf:e54c:0:b0:371:6fc7:d45d with SMTP id ffacd0b85a97d-37ef1263b35mr1699916f8f.2.1729591836675; Tue, 22 Oct 2024 03:10:36 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: berrange@redhat.com, kwolf@redhat.com, junjie.mao@hotmail.com, manos.pitsidianakis@linaro.org Subject: [PATCH v2 10/14] rust: allow version 1.63.0 of rustc Date: Tue, 22 Oct 2024 12:09:51 +0200 Message-ID: <20241022100956.196657-11-pbonzini@redhat.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241022100956.196657-1-pbonzini@redhat.com> References: <20241022100956.196657-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.421, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.699, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1729591885506116600 Content-Type: text/plain; charset="utf-8" All constructs introduced by newer versions of Rust have been removed. Apart from Debian 12, all other supported Linux distributions have rustc 1.75.0 or newer. This means that they only lack c"" literals and stable offset_of!. Signed-off-by: Paolo Bonzini --- meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index e411a8ae567..9c57d7e5c6d 100644 --- a/meson.build +++ b/meson.build @@ -89,11 +89,12 @@ have_rust =3D have_rust and add_languages('rust', nativ= e: true, required: get_option('rust').disable_auto_if(not have_system)) if have_rust rustc =3D meson.get_compiler('rust') - if rustc.version().version_compare('<1.80.0') + if rustc.version().version_compare('<1.63.0') if get_option('rust').enabled() - error('rustc version ' + rustc.version() + ' is unsupported: Please = upgrade to at least 1.80.0') + error('rustc version ' + rustc.version() + ' is unsupported. Please = upgrade to at least 1.63.0') else - warning('rustc version ' + rustc.version() + ' is unsupported: Disab= ling Rust compilation. Please upgrade to at least 1.80.0 to use Rust.') + warning('rustc version ' + rustc.version() + ' is unsupported, disab= ling Rust compilation.') + message('Please upgrade to at least 1.63.0 to use Rust.') have_rust =3D false endif endif --=20 2.46.2