From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "M. Ian Graham" Newsgroups: gmane.emacs.bugs Subject: bug#59214: [PATCH] Alternate rust-analyzer command added Date: Thu, 17 Nov 2022 09:01:50 +0000 Message-ID: References: <87o7tc2xu8.fsf@codeisgreat.org> <83leoag78l.fsf@gnu.org> <83fseig0h0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59214@debbugs.gnu.org, Eli Zaretskii , pankaj@codeisgreat.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 17 11:25:03 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovc4r-0003w6-Od for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Nov 2022 11:25:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovc48-0004eO-9Q; Thu, 17 Nov 2022 05:24:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovc3w-0004VG-4q for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 05:24:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovc3u-0001R7-Rk for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 05:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovc3u-0003g8-NI for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 05:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "M. Ian Graham" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2022 10:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59214 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59214-submit@debbugs.gnu.org id=B59214.166868061314086 (code B ref 59214); Thu, 17 Nov 2022 10:24:02 +0000 Original-Received: (at 59214) by debbugs.gnu.org; 17 Nov 2022 10:23:33 +0000 Original-Received: from localhost ([127.0.0.1]:59221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovc3R-0003f1-8w for submit@debbugs.gnu.org; Thu, 17 Nov 2022 05:23:33 -0500 Original-Received: from mail-4317.proton.ch ([185.70.43.17]:31125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovamY-0001W0-Th for 59214@debbugs.gnu.org; Thu, 17 Nov 2022 04:02:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=miangraham.com; s=protonmail; t=1668675715; x=1668934915; bh=0PEDyueUrkIGiAoEJSH1Pt0yv/gpSjP0AnbuQtfHA0A=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=oVc8U/RtlGK5C9Z9A+gEssEmm7qZxkAoXvPc2P23X2DeE5ZexWe6ZeUjBvhINkPaW 9Mbpsdv8tmPtwCuP7ekYH3tzCUbNfMVIQOQtMcSzwvWbr0N43Bmy5mKtv9vSSD1K+T ZZVul/boA8TYCgc5sG2SinBGC48N8m1LgheKfkbcoUynH0vDd6r38ox+D1nykhMScA RAHQXmGMnQlkXdcR3ZzUxETtB1bN/QOjjXkUHH6aJxsaDZQs4H4ev2TOCEy8S9wOce wW16/ifXnZ0v8BtpRYhWHh8PCSCPzaqqMoNUbKj2o+lhbqbdORJN9E8ZPiT/s5Mw0d Axw+evTKeDZ+g== In-Reply-To: Feedback-ID: 29547276:user:proton X-Mailman-Approved-At: Thu, 17 Nov 2022 05:23:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248109 Archived-At: Jo=C3=A3o T=C3=A1vora wrote: > So rustup is just an optional way of installing rust-analyzer? Rustup is not required, only recommended for new developers. See Rust's installation guide, which also describes how to add components t= o PATH when using rustup: https://www.rust-lang.org/tools/install See also the next page's description of other installation methods for peop= le who have "Preference for the system package manager" or "Preference agai= nst curl | sh" (!): https://forge.rust-lang.org/infra/other-installation-methods.html > If I wanted to learn Rust, just Rust, should I start with a rustup-less s= etup? The docs above do a good job of breaking down reasons for different install= ation methods. I'd take their word over mine, but IMO the biggest factor is= whether you prefer learning bottom-up and adding complexity as you go, or = top-down and having unfamiliar pieces managed for you. Rustup is a top-down= , "just works" sort of tool. If you're an emacs user comfortable with other CLI compilers, you'd be abso= lutely fine starting with your preferred package manager's "install rust" c= ommand and working from there for the bottom-up approach, assuming your dis= tro packages the standard installer. Using this gives you rustc+cargo, whic= h is the equivalent of node+npm, go+subcommands, etc. If that's not availab= le, rustup is fine too! Cheers, Ian