Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp988917rwb; Sat, 5 Aug 2023 05:22:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEGLVmLNP2+XJIOWl+KV6NIYcIRwzvOmANFyayIwfmPelrirCRVU+DuUGB4dr1rysD+vZN X-Received: by 2002:a05:6a20:54a7:b0:134:30a8:9df5 with SMTP id i39-20020a056a2054a700b0013430a89df5mr6179915pzk.43.1691238136504; Sat, 05 Aug 2023 05:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691238136; cv=none; d=google.com; s=arc-20160816; b=S4h5OrEzaIFMSEkOd9/S1JosZY7JARuEQsb0MX/bGzR8LduQ/PrcrF7//25woFgmf9 XGYMdfjC6725LhArGQUgrKjL1x2KoDtC6BqGrYZDkrTKZ+0Jz0yIVI5Siosyc6Tzbij4 x/qg9cGI5/mIaXXfXRRBrFaM3ogiiMEFkJ70v9w5iGFn6WGHF5i50bp9xxY501ZQJQ+8 pRetX2YO0S6hT+Bx4k30J1jbafnfw40so4cJkodkP8gqbg4D0MDFK3PJ9wFmCfMaQM0T D/w3Dn+KLWvJoMPzBdcVbAkajJ3kMc4n9XXAIsvZS3cVBz0IAb54Eilm7TRzzTEYVC3s G/gg== 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=Z0kaSQGFOdpyORL5u0e6rSfhKvQMmZDt9DGOVV3I7H8=; fh=00bQx+IxewIs6yP1zw3ec4PvXYBofvg5OeyLCG2ZtFY=; b=bPXP3NlXfm2Bu48rb2PkHlEX0GEjtZCMj7WAVAagg1NMRslcZTPOPS6PJUf4pn5f7o MolMNc73U7lCqOtFc7vDWQJGhDqzxBY1PfLUJjg2Yf1y/apHW6vPGXES1q+cMwz9uD0g IrW0kmquvO26TqLHEHKt9RFGtwh2akgDim1U8/D5Ccg+8F+8Hyl8kG3SKT4DvkJYuwdx aJzEW6Us/BE4BPzqljsNMpWDKJzowielHmcQDhAWbBqVYfJwk+gBH0r8CaupP+9pfy25 PYR2sx8+2+n9O8W0RNJS1KcscMBA0DOXNfYZImyh6xzc/USh898IvCMTDilAFsH27A9V GZKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TUeRwPSG; 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 24-20020a631258000000b0055fe651e9cesi576270pgs.796.2023.08.05.05.22.04; Sat, 05 Aug 2023 05:22:16 -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=20221208 header.b=TUeRwPSG; 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 S229849AbjHEKqd (ORCPT + 99 others); Sat, 5 Aug 2023 06:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjHEKqb (ORCPT ); Sat, 5 Aug 2023 06:46:31 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E174D468A; Sat, 5 Aug 2023 03:46:30 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-d3522283441so2823299276.0; Sat, 05 Aug 2023 03:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691232390; x=1691837190; 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=Z0kaSQGFOdpyORL5u0e6rSfhKvQMmZDt9DGOVV3I7H8=; b=TUeRwPSGD3Bru6owOtuDNpxWEbME/SK+QukxuHM/mD9cH7bc2Lqv5dpRiAjFDnelD6 WDYe3trLoFmaVvWm4qzESo+hZXodlshdhFIR5ZN5TlB4Yr7eo+hqE5Ma+s7l2MpWqQ+J JWjEOfiQk6s4eoI7lqp2haiWu3SSZpB6VV50rDKixz4UvovCIWoUDFMhKwG4RO6fr7pM 6pdrGu0MrPdWlwXiPCw+/Lw44PxYicv1OGN9xTGIki0Hx/jGVGIbunw7w7pwwmVeH0vY CICtq7rJk+ZogRUNklYCnZrG3bLnDdAxxwBX4392olj1iBDUwkuu/RQEy3K7PouY3fXq LiWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691232390; x=1691837190; 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=Z0kaSQGFOdpyORL5u0e6rSfhKvQMmZDt9DGOVV3I7H8=; b=Wo6BQgZm/ojqd9LCuKdeBFkQwPUho1/aeZJ0P6ac8ZBiMSU973+HieGHs6bp7QQWUl wiLGdjynAot5Bf+/3t8PRxEDY6PYpvoVq8DjNS8VEVIwxSpR2EMC3793vpKhnQ8Wvvts KJwkBO63nF9rfVdh7URpJSv2J+rVHSwKGkp8TOacXi0SYCAPQBlnETQCqhPHnkamlhyA H8E8Iy4OZcFvMKGq+eJ9v3vOMIGqgBAGfG3QkgjZUHl6/7LwAEZ4niJBhBw/+CZBl181 wHnAJmWlnnc1UxpsGE4aWUMkivj3iXFRyB0fBw5dFJMHEIiKaZz555yuIESGeeItGymU Ykvg== X-Gm-Message-State: AOJu0Yx37iXkNeMnnhk4rMaERu2dV44MH+/ynqgjJy9tyJTg5CeK04KX tNS4VzFAsl9OLWPNkIYR9qIJwCGe+vhJVI1Hdu4= X-Received: by 2002:a25:cc47:0:b0:d18:1fbf:c11d with SMTP id l68-20020a25cc47000000b00d181fbfc11dmr3937017ybf.47.1691232390115; Sat, 05 Aug 2023 03:46:30 -0700 (PDT) MIME-Version: 1.0 References: <20230804171448.54976-1-yakoyoku@gmail.com> In-Reply-To: <20230804171448.54976-1-yakoyoku@gmail.com> From: Miguel Ojeda Date: Sat, 5 Aug 2023 12:46:18 +0200 Message-ID: Subject: Re: [PATCH v3] scripts: generate_rust_analyzer: provide `cfg`s for `core` and `alloc` To: Martin Rodriguez Reboredo Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Fri, Aug 4, 2023 at 7:14=E2=80=AFPM Martin Rodriguez Reboredo wrote: > > Suggested-by: Miguel Ojeda Thanks Martin! I am a bit confused about the Suggested-by -- did you add it due to the suggestion from v1 of passing variables via command-line arguments? If so, I appreciate the gesture, but the main idea/report (passing the missing `cfg`s for `core` and `alloc`) is yours! :) The patch seems fine, I will test & apply it soon. If someone wants to give it a Tested-by with rust-analyzer, that would be great too, thanks! (note: it applies on top of `rust-next`). Cheers, Miguel