From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97630C433F5 for ; Mon, 13 Sep 2021 14:23:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 47BB560F25 for ; Mon, 13 Sep 2021 14:23:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 47BB560F25 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:58246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPmsD-0001jz-FT for qemu-devel@archiver.kernel.org; Mon, 13 Sep 2021 10:23:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPmq9-0007Pc-Ke for qemu-devel@nongnu.org; Mon, 13 Sep 2021 10:21:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:55450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPmq7-0005Yu-KB for qemu-devel@nongnu.org; Mon, 13 Sep 2021 10:21:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631542902; h=from:from: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=I/0TDFJ7ZNHQeklCwKTUaRjixx2i5AUx2biBMIW5VQg=; b=KV8DpLDxL2OLmG1zaXRN0ZEQlonZWuCY1BTCc3eDoMlEMOiFJ6vE2EBVDM94KeeIm8j7PQ vniErtuyUA+xzu6Y7H+LpfRYEPTH1aqAE/5HUyiFE1O1zxLNEuf+yhtHDpYsP8sR2tjNNm VStSU3jphh44L/ogfrdyL37YN84z6Ac= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-593-40fvNepRPCakCnTaU-CVeA-1; Mon, 13 Sep 2021 10:21:36 -0400 X-MC-Unique: 40fvNepRPCakCnTaU-CVeA-1 Received: by mail-ej1-f72.google.com with SMTP id ga42-20020a1709070c2a00b005dc8c1cc3a1so3726018ejc.17 for ; Mon, 13 Sep 2021 07:21:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=I/0TDFJ7ZNHQeklCwKTUaRjixx2i5AUx2biBMIW5VQg=; b=js40NoLRXdS4VwJraPTUDFbSirZiHMY3vJzTBVsLED5LbcuUMoVXGJVkQ/2yJ6YF46 eLtGGRDhrWtQU5EK0EGLl9XNwAgZdSrAD7KF5rOZpcN+VDAJtKLJgNqJ47rpn5S2Gcp1 Nx6z2cBGQueoBXSJhLZetTqzC1VOnGYum65lmPiSOSivRD/Vz8SxvIJOuvjEaIqJZH9J fepDUl/sYp8uWHbP4mtmoYhlSHeiZAVZe5RMDWP+0elPLEinza4YhuMk4OVAb3klBdq2 rOFd6ZOB2xOmUWTExevesr+8nfxhc1x2B5DW9tdV5i00Ps9TgzcrZDfKbbFJy+f/UJ+V xPCA== X-Gm-Message-State: AOAM531H9IpKGFYIf8WUmNcK04G2EtWHCMa3EV8BC/6N8kBXWhoZ+3B8 jghfZO+PLlXMsInboIUHxPPCSGXPM+Vh859lzbQzrZ5EFLsAS7hn88w/cPDqRRCgT/e2aOTBFbH od5d7eW+SvF1R45c= X-Received: by 2002:a17:906:f906:: with SMTP id lc6mr3760000ejb.487.1631542895612; Mon, 13 Sep 2021 07:21:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBdYnlrxpqjsGk6wGMa4jJXVEZBVn1P/WAUwiCBFKFSTPPYFz4P3Af+ZbiUI1wJK+5ZTc+1g== X-Received: by 2002:a17:906:f906:: with SMTP id lc6mr3759977ejb.487.1631542895405; Mon, 13 Sep 2021 07:21:35 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id c5sm4038436edx.81.2021.09.13.07.21.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Sep 2021 07:21:34 -0700 (PDT) Subject: Re: [RFC v3 13/32] rust: use vendored-sources To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Peter Maydell References: <20210907121943.3498701-1-marcandre.lureau@redhat.com> <20210907121943.3498701-14-marcandre.lureau@redhat.com> From: Paolo Bonzini Message-ID: <3c3b8ae0-97a5-cc17-d53c-672ccda5075f@redhat.com> Date: Mon, 13 Sep 2021 16:21:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -51 X-Spam_score: -5.2 X-Spam_bar: ----- X-Spam_report: (-5.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.398, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.969, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson , "Daniel P. Berrange" , QEMU Developers , Stefan Hajnoczi , Markus Armbruster Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 09/09/21 18:29, Marc-André Lureau wrote: > >  * C doesn't have a package manager, so if we need a dependency that >    distros don't ship then we need to wrap it up and provide it > ourselves > > Have we considered meson wrap? I never really looked at it in detail, > not sure if that would work for us. > https://mesonbuild.com/Wrap-dependency-system-manual.html > Sure, it would be possible to use wrap with meson 0.56.x or newer (due to https://github.com/mesonbuild/meson/pull/7740). It would all be hidden behind configure/Makefile, which would invoke "meson subprojects download" in addition to "git submodule update". Paolo