Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3513237pxv; Sun, 4 Jul 2021 22:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyk7kFGrvpYRIrutiRch/yYTfy4Bu3MprgE+6ULkDGbeDPgN6VuOYf0ekz2eOMsE/KFtcWW X-Received: by 2002:a17:907:c20:: with SMTP id ga32mr11833176ejc.7.1625461648328; Sun, 04 Jul 2021 22:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625461648; cv=none; d=google.com; s=arc-20160816; b=HtZXt58N0tyVejY6P0ruFkoARThUpSocbfsrU2Nf5I5GXjjlAtC8LV7gxOFhGHXZGB hq+Mp+Ak3B1aB98xp0ByTT3A+rwbv/lUmnxeMxsTXhqOJ7kWHDoGQnWQBLaxhrdy1TBh xMcKhQE319ch4Bp3A5qgTna2P3iW8nzhYOs9tRLmGNEgj/C6MnQlN3BAzNazgykh7u+N BixVvZZXRGaKRcB4BY3ww0E6xBfTjR/URHPnyLYHZMC3TVuU4sGZvg7UOHNFIeo8yfSE 4+vHe9fKO4PJq3vcY0VqUtmjHqs+t75Sx+0uT1x5wPa3sjb2YJKcSQOCni5yUJgt6oL7 XvFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=YtNvter/Lq6WhoHYaj6ybVaDKEF/J/nheO00fxoRpeQ=; b=edIrJ0sRk/safPxjW7tExc5wDQRENoIkakvN88m561sUJJmgJHHkzpN+QrBeImQW/h lsGLnJvQwDIvj4dBjTIydkD2418XR1RtlTSrvispW08LT2j6yxYutga+mNCx1Y780hTM +5uuVebBnwVi4gjbppGPDjj01SwJN7Z563II6kPFRcuPOPaQhSG3aEo/94VQOhY9KCme m8dvUZ4DOJWU4l4vFGLUHIn4nWQ3/YPJHmHcMYAzYcWl6ZhPWPEUvCSCYud9are4fm9T cDLoKwpMI0neVsAybF+t6KejbGvkatHA7pv6xOYep+MYrpdFnyrkDmZmUCImRxIxgPUo QK1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si12081395ejj.750.2021.07.04.22.07.05; Sun, 04 Jul 2021 22:07:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbhGEFIM (ORCPT + 99 others); Mon, 5 Jul 2021 01:08:12 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:57247 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbhGEFIL (ORCPT ); Mon, 5 Jul 2021 01:08:11 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 16555IWO031007; Mon, 5 Jul 2021 07:05:18 +0200 Date: Mon, 5 Jul 2021 07:05:18 +0200 From: Willy Tarreau To: ojeda@kernel.org Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho , Boqun Feng , Sumera Priyadarsini , Michael Ellerman , Sven Van Asbroeck , Gary Guo , Boris-Chengbiao Zhou , Fox Chen , Ayaan Zaidi , Douglas Su , Yuki Okushi Subject: Re: [PATCH 15/17] scripts: add `generate_rust_analyzer.py` Message-ID: <20210705050518.GC30964@1wt.eu> References: <20210704202756.29107-1-ojeda@kernel.org> <20210704202756.29107-16-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210704202756.29107-16-ojeda@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 04, 2021 at 10:27:54PM +0200, ojeda@kernel.org wrote: > From: Miguel Ojeda > > The `generate_rust_analyzer.py` script generates the configuration > file (`rust-project.json`) for rust-analyzer. > > rust-analyzer is a modular compiler frontend for the Rust language. > It provides an LSP server which can be used in editors such as > VS Code, Emacs or Vim. You should probably add some doc about this, as I have no idea how I'm supposed to use this from my editor. Willy