Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0AF3C6FA8E for ; Thu, 2 Mar 2023 21:03:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229656AbjCBVDM (ORCPT ); Thu, 2 Mar 2023 16:03:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjCBVDK (ORCPT ); Thu, 2 Mar 2023 16:03:10 -0500 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9160125AD; Thu, 2 Mar 2023 13:03:05 -0800 (PST) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-5384ff97993so5765977b3.2; Thu, 02 Mar 2023 13:03:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677790985; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=A0e+M8lR2JG6NpLCRd1WCTH13OlQ8KKo1FJyWNWAWvw=; b=c6nm5fiXqllQvs36BosfqFB+6xsA9Z1k9PhyAFM9pKI+dBF7CmRo+bIwneA/0V8Sab CtmcVNohRYP5SITznCvI3kDP8p/Ix0DRsij7K+ArOJAtJ4an1PYGWEyqAAdZd35ryq24 it9dzO8vYCUWKfeJ4Q4gFVPB4FB0wLxrqCmbUkmIDv20iijZKPUqWaHa3L3Hd372AT4l NzGD5nYbYKSw3ct5Ny/YWNIkKazmvoo21yypwwlaUYqPSAc+IhExDRvUFrAVOvaZlIdZ CNLrwHfBBAKi+VyhfDMalJuIQozgPIznWm1RACUCIi7CKSokFJseeJnpTli9cmPB37qB rCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677790985; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A0e+M8lR2JG6NpLCRd1WCTH13OlQ8KKo1FJyWNWAWvw=; b=44cFnVminRddFYNFEMz6ZgecfNvZM3JtJWQ9OphiBRD2oGqs9ts48bcDqbcLR5TSup daj4mFSZRqevtZVmO7pq4mJpziFi5e295cisfxNILTIdSmzbYKNzr+8X94ll4LhQboMD 979szFA/fh7cmSazOqdaEXzAS2TqIN0WPBk/K5MC5PJm2I0LOavyOCIW1FJkGKHetv/c JRQvL4xHXagFK2j3O8ekSZBeY6AcLWNZ+BGac3N4ex1AgwL9q0Ej1fhK0Z43/LDbiwlt 4rC9t5VtvMG3I9CA2nXXEqBebefVODtvfIWeAs66itoGLCq0aUT2VoRwV4NHwKrKfX+J 8eUw== X-Gm-Message-State: AO0yUKXXIWue/FTf4fT9LEBDkF4bb3CImSFw+bP0e/QWYBfD+zGoZ9hW mXo5StTTAmeYKcfEbNbvLhEplpPM87bZo+GPgg8= X-Google-Smtp-Source: AK7set+UOO2x/FUKlfMt2Kcf7BBasRfyJxFZZYrhv3uDPWWLAYeML2RAIE7qu6JGPaGuplzMzbkqfXSVZXv8L9DaTqQ= X-Received: by 2002:a81:b664:0:b0:52e:cea7:f6e3 with SMTP id h36-20020a81b664000000b0052ecea7f6e3mr7061692ywk.10.1677790985226; Thu, 02 Mar 2023 13:03:05 -0800 (PST) MIME-Version: 1.0 References: <37578649-c696-f3b5-a216-196e210929e5@gmail.com> In-Reply-To: <37578649-c696-f3b5-a216-196e210929e5@gmail.com> From: Miguel Ojeda Date: Thu, 2 Mar 2023 22:02:54 +0100 Message-ID: Subject: Re: [PATCH 1/1] rust: bindgen: Add `alt_instr` as opaque type To: Martin Rodriguez Reboredo Cc: Arnaldo Carvalho de Melo , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Derek Barbosa , rust-for-linux@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 2, 2023 at 3:59=E2=80=AFPM Martin Rodriguez Reboredo wrote: > > Still, we have to be careful if these kind of things appear in > the future. Not entirely sure what you mean -- do you mean if some Rust abstractions used its fields? But if we were in that case, it would not compile, so we would notice. Or what do you mean? > And I notice that You haven't mentioned the version of Bindgen that > You've used, including its linked libclang too. Otherwise I think this > could be accepted. I could reproduce this with the expected versions. Since, for now, those are the only ones supported and the build system emits a warning otherwise, I think it is fair to assume those versions were used unless otherwise stated. Cheers, Miguel