rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu@kernel.org>
To: Gioh Kim <gurugio@gmail.com>
Cc: rust-for-linux@vger.kernel.org, Wei Liu <wei.liu@kernel.org>
Subject: Re: How to setup Rust code tagging in Linux kernel
Date: Sun, 15 Aug 2021 14:30:53 +0000	[thread overview]
Message-ID: <20210815143053.xumpoo22gb4cueho@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <CANc8B5N6gYW3+zdG2qo9+ma4s5=xTxUVRk8s=A7-17KhnY+hzw@mail.gmail.com>

On Sun, Aug 15, 2021 at 11:01:39AM +0200, Gioh Kim wrote:
> Hi,
> 
> I've just built and booted the kernel of the Github "Rust for Linux" project.
> I've used emacs and gtags or Visual Studio Code to read kernel code.
> But they didn't work to read the Rust code in the kernel.
> I failed to find the solution with google and git log rust/.
> 
> Is there anything to make tagging for rust code in the kernel?
> Maybe it would be better to make tagging for both C and Rust code.

Check this out:

https://github.com/Rust-for-Linux/linux/blob/rust/Documentation/rust/quick-start.rst#rust-analyzer

Wei.

> 
> -- 
> 
> Best regards,
> Gioh Kim

  reply	other threads:[~2021-08-15 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15  9:01 How to setup Rust code tagging in Linux kernel Gioh Kim
2021-08-15 14:30 ` Wei Liu [this message]
2021-08-15 17:48   ` Gioh Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210815143053.xumpoo22gb4cueho@liuwe-devbox-debian-v2 \
    --to=wei.liu@kernel.org \
    --cc=gurugio@gmail.com \
    --cc=rust-for-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).