Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp152459rwl; Thu, 6 Apr 2023 16:30:06 -0700 (PDT) X-Google-Smtp-Source: AKy350akjU0FtL2c7MKq5gUkwyQpdR0yXiiq9p1ujON6RdDjLUx41RQh+icB99mqqR1bgd6HxCBd X-Received: by 2002:a05:6402:1e96:b0:4cf:c2f6:ca1 with SMTP id f22-20020a0564021e9600b004cfc2f60ca1mr6605615edf.1.1680823806630; Thu, 06 Apr 2023 16:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680823806; cv=none; d=google.com; s=arc-20160816; b=cuw0GEiLwYg6y41kkl7PXgJiQl32pILqF5xACj+AEN4Ju2sRluJOp9ukmk1W4bN1i4 Wm2URYOnePfgZpkFn6k0fNWxyVuIQAOocBIVQhYbHP5u0+b+zZcljSfGuGo5UMBj+xvt 2k2PYlr7OlSF/NzTqwx28O9aTNSsh3ubP62QaFSN4FxEu8d8Kc4IQ0cr9aBmaCqkWjst hRual3q4zFpG2mr7jt0BMBcSgr7flJwQHx/9atTJkbMoQ9WumvJxOJ+y7w3TetIRpoEo X0f/K1XXUwr4Ts762Z7PUQ/JayRL4shYtZ0ID64p1v67juVUC7bqC6XaQdnAYX19TK6P vXAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bXUdQboTgq9TFHD5xYoyvY+r2FwQ208ps3K2xaFR8lE=; b=oXokLaq8YKWJGjBnQ2c2jkJb/zJjPsfJC9hfIVW52XDMHUO9fIfyuSuSYyedPW0tv+ 82TgTzfz0gawphzGPwLkAQmrfbX1E7Nvtf2/8YMJudOjyX5BfMWEE1L7PikJCdknF0X9 UBekUq5P9qUFkh2/syVFVpk3/+ia2aS8JjvrcuMmGEe9o64ZIIxiW5lNKCpK/69LrV7Q odQwd6Yi9N557KXIky6SIGptbkl1KE2nGsH5y2UnOwf16rGVf6vhqez3aqz58M6jXpmA ljT4aCHOd9VbZbZx6ejJ9yzoCmuKe0Yf1C9z6DGuQ/36iupGxIxZzn3BgFjSTdEtoxjI xgTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J6b622BG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020aa7de0e000000b0050212939157si1898283edv.654.2023.04.06.16.29.41; Thu, 06 Apr 2023 16:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J6b622BG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230320AbjDFXP3 (ORCPT + 99 others); Thu, 6 Apr 2023 19:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjDFXP1 (ORCPT ); Thu, 6 Apr 2023 19:15:27 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DBC36E82; Thu, 6 Apr 2023 16:15:24 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id f188so29259198ybb.3; Thu, 06 Apr 2023 16:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680822924; x=1683414924; 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=bXUdQboTgq9TFHD5xYoyvY+r2FwQ208ps3K2xaFR8lE=; b=J6b622BG1gXLhYxaAqxI60m8PJ9dpsAToqn8/bw060Mj/WjKMcb27A1PZJYYjqSCKk YL6wmKKpHtgdGoycmJbzHzIJIgn+59IyJp8pThkSZKSWQdQkUAR6uLU+czmpZN0BeQeB NPspe/NghvLZFvp5EmPwgPiXGHd8Zu9qLgFsD3STX3QRgJUu3vArhQino/s/3xCgorHR 7kqCgVu20gjAqzHsBHvul2OPC33FH3OjqgNe/AntOQqaI9PeSC5N3Z1R2PjF8aAckbE0 +hboL72q0gnjzKiA0rKnHpfe1Q0LG7KahOe5cMq2ReXDFo4Tb8dsjRCNbctusBUDx7Lm 4d6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680822924; x=1683414924; 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=bXUdQboTgq9TFHD5xYoyvY+r2FwQ208ps3K2xaFR8lE=; b=8DLXq4d3CTJae4C3c85yLJhukG2XvdULYBjJ3TvK+M/cV6tVjN+GWdxO/Tni8kstkI vfMAGtTebQZS8px8EH3c2/ZlHN5d92oZ0zCoL+ED6RPL3YuTy+AoMySAhKfQsTPmfUyC +MtWJWkDv/6V8ykg9jK4Wk9uQAMz6DGJ+BLOeh2z65SzvuDRXmETqvHTQsn3DIJBCKWq nb7NkkbQpo5IRjGexqR9K0OXaM6bLATFj5YZPdYuAKGhAJTMUHOUwtY7ilzDXzY54Qls cvgiuBZHXOtMSvXogwhM58G3nnIZr50xK90Xk5CtqnTiBEoBd4iWxgx+vqL1b6xcWuRd uAzw== X-Gm-Message-State: AAQBX9efxw4wXlGg6bJ6ZnIjyEvjpkDqurrr/EOpXbBeZLelpDPGA7xW 8N2oS2/sic+K0SC9bhnrKITq8kAlBXo4O1ZpzgI= X-Received: by 2002:a25:be11:0:b0:b4c:9333:293 with SMTP id h17-20020a25be11000000b00b4c93330293mr552544ybk.11.1680822923678; Thu, 06 Apr 2023 16:15:23 -0700 (PDT) MIME-Version: 1.0 References: <20230329233921.16729-1-technoboy85@gmail.com> In-Reply-To: <20230329233921.16729-1-technoboy85@gmail.com> From: Miguel Ojeda Date: Fri, 7 Apr 2023 01:15:12 +0200 Message-ID: Subject: Re: [PATCH] rust: fix bindgen arguments To: technoboy85@gmail.com Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Matteo Croce Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matteo, On Thu, Mar 30, 2023 at 1:39=E2=80=AFAM wrote: > > bindgen renamed some arguments to be more inclusive. > Detect if bindgen uses the new syntax and use it, > otherwise fallback to the previous one. We will be updating to a new `bindgen` version soon-ish, at which time I will perform the change from one to the other directly, instead of having to handle both cases. But thanks for this patch! Cheers, Miguel